update generated files for prometheus operator v0.35.1

This commit is contained in:
Paul Gier
2020-05-18 16:49:18 -05:00
parent 96395d9476
commit 0c3ddbeaf5
11 changed files with 2059 additions and 1851 deletions

View File

@@ -1,16 +1,22 @@
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.4
creationTimestamp: null
name: podmonitors.monitoring.coreos.com
spec:
group: monitoring.coreos.com
names:
kind: PodMonitor
listKind: PodMonitorList
plural: podmonitors
singular: podmonitor
preserveUnknownFields: false
scope: Namespaced
validation:
openAPIV3Schema:
description: PodMonitor defines monitoring for a set of pods.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
@@ -22,15 +28,18 @@ spec:
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: PodMonitorSpec contains specification parameters for a PodMonitor.
description: Specification of desired Pod selection for target discovery
by Prometheus.
properties:
jobLabel:
description: The label to use to retrieve the job name from.
type: string
namespaceSelector:
description: NamespaceSelector is a selector for selecting either all
namespaces or a list of namespaces.
description: Selector to select which namespaces the Endpoints objects
are discovered from.
properties:
any:
description: Boolean describing whether all namespaces are selected
@@ -78,7 +87,7 @@ spec:
type: integer
regex:
description: Regular expression against which the extracted
value is matched. defailt is '(.*)'
value is matched. Default is '(.*)'
type: string
replacement:
description: Replacement value against which a regex replace
@@ -105,6 +114,10 @@ spec:
type: object
type: array
params:
additionalProperties:
items:
type: string
type: array
description: Optional HTTP URL parameters
type: object
path:
@@ -138,7 +151,7 @@ spec:
type: integer
regex:
description: Regular expression against which the extracted
value is matched. defailt is '(.*)'
value is matched. Default is '(.*)'
type: string
replacement:
description: Replacement value against which a regex replace
@@ -172,8 +185,11 @@ spec:
type: string
targetPort:
anyOf:
- type: string
- type: integer
- type: string
description: Name or number of the target port of the endpoint.
Mutually exclusive with port.
x-kubernetes-int-or-string: true
type: object
type: array
podTargetLabels:
@@ -188,10 +204,7 @@ spec:
format: int64
type: integer
selector:
description: A label selector is a label query over a set of resources.
The result of matchLabels and matchExpressions are ANDed. An empty
label selector matches all objects. A null label selector matches
no objects.
description: Selector to select Pod objects.
properties:
matchExpressions:
description: matchExpressions is a list of label selector requirements.
@@ -224,6 +237,8 @@ spec:
type: object
type: array
matchLabels:
additionalProperties:
type: string
description: matchLabels is a map of {key,value} pairs. A single
{key,value} in the matchLabels map is equivalent to an element
of matchExpressions, whose key field is "key", the operator is
@@ -235,5 +250,17 @@ spec:
- podMetricsEndpoints
- selector
type: object
required:
- spec
type: object
version: v1
versions:
- name: v1
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []