Merge pull request #1993 from prometheus-operator/automated-updates-main

[bot] [main] Automated version update
This commit is contained in:
Matthias Loibl 2023-01-25 10:54:02 +00:00 committed by GitHub
commit ae8dd9341d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 899 additions and 238 deletions

View File

@ -18,7 +18,7 @@
"subdir": "contrib/mixin" "subdir": "contrib/mixin"
} }
}, },
"version": "7daec2928ae0528c07ca7f901e4ae07fa5d229b7", "version": "ee566c492bb2e0962068a531666c68e1c39d3723",
"sum": "IkDHlaE0gvvcPjSNurFT+jQ2aCOAbqHF1WVmXbAgkds=" "sum": "IkDHlaE0gvvcPjSNurFT+jQ2aCOAbqHF1WVmXbAgkds="
}, },
{ {
@ -78,7 +78,7 @@
"subdir": "jsonnet/kube-state-metrics" "subdir": "jsonnet/kube-state-metrics"
} }
}, },
"version": "63db4839e921479ebf5b8835267beaa0515d7b6e", "version": "1cda0bf92ec2d053286bdac9556755506a871235",
"sum": "4PJ2ROxODsoYO/1Y70+dgLZVjW5zlfzB+TDpxJBHwaI=" "sum": "4PJ2ROxODsoYO/1Y70+dgLZVjW5zlfzB+TDpxJBHwaI="
}, },
{ {
@ -88,7 +88,7 @@
"subdir": "jsonnet/kube-state-metrics-mixin" "subdir": "jsonnet/kube-state-metrics-mixin"
} }
}, },
"version": "63db4839e921479ebf5b8835267beaa0515d7b6e", "version": "1cda0bf92ec2d053286bdac9556755506a871235",
"sum": "u8gaydJoxEjzizQ8jY8xSjYgWooPmxw+wIWdDxifMAk=" "sum": "u8gaydJoxEjzizQ8jY8xSjYgWooPmxw+wIWdDxifMAk="
}, },
{ {
@ -98,7 +98,7 @@
"subdir": "jsonnet/mixin" "subdir": "jsonnet/mixin"
} }
}, },
"version": "e4e27052f57040f073c6c1e4aedaecaaec77d170", "version": "57499ba176d8c217621b484ec80cba3696d7acc3",
"sum": "GQmaVFJwKMiD/P4n3N2LrAZVcwutriWrP8joclDtBYQ=", "sum": "GQmaVFJwKMiD/P4n3N2LrAZVcwutriWrP8joclDtBYQ=",
"name": "prometheus-operator-mixin" "name": "prometheus-operator-mixin"
}, },
@ -109,8 +109,8 @@
"subdir": "jsonnet/prometheus-operator" "subdir": "jsonnet/prometheus-operator"
} }
}, },
"version": "e4e27052f57040f073c6c1e4aedaecaaec77d170", "version": "57499ba176d8c217621b484ec80cba3696d7acc3",
"sum": "82ZHr1I1pgpu4PXLfXQbVuAN2aJAtgeesE/jMEQ0U2I=" "sum": "GQ2jy+PtGkOjuqinBe00tqtcvrSAbIFJrNsLzwsaUnc="
}, },
{ {
"source": { "source": {
@ -119,7 +119,7 @@
"subdir": "doc/alertmanager-mixin" "subdir": "doc/alertmanager-mixin"
} }
}, },
"version": "ecb66f76b0058957e5045114ae01f8b98994451e", "version": "f59460bfd4bf883ca66f4391e7094c0c1794d158",
"sum": "PsK+V7oETCPKu2gLoPfqY0wwPKH9TzhNj6o2xezjjXc=", "sum": "PsK+V7oETCPKu2gLoPfqY0wwPKH9TzhNj6o2xezjjXc=",
"name": "alertmanager" "name": "alertmanager"
}, },
@ -130,7 +130,7 @@
"subdir": "docs/node-mixin" "subdir": "docs/node-mixin"
} }
}, },
"version": "a3bd2e13052929663dbd7d680fab4a952efb1de6", "version": "5bc8e9e28fbc39507aebbef1c510cf9085ab716f",
"sum": "TwdaTm0Z++diiLyaKAAimmC6hBL7XbrJc0RHhBCpAdU=" "sum": "TwdaTm0Z++diiLyaKAAimmC6hBL7XbrJc0RHhBCpAdU="
}, },
{ {
@ -140,7 +140,7 @@
"subdir": "documentation/prometheus-mixin" "subdir": "documentation/prometheus-mixin"
} }
}, },
"version": "cb2be6e62ff80ba84b639e4251044214e185886f", "version": "64842f137e1ae6e041e12a2707d99d6da4ba885b",
"sum": "LRx0tbMnoE1p8KEn+i81j2YsA5Sgt3itE5Y6jBf5eOQ=", "sum": "LRx0tbMnoE1p8KEn+i81j2YsA5Sgt3itE5Y6jBf5eOQ=",
"name": "prometheus" "name": "prometheus"
}, },
@ -151,7 +151,7 @@
"subdir": "config/crd/bases" "subdir": "config/crd/bases"
} }
}, },
"version": "335b597f440b31d68b522d0f63b51776721b0564", "version": "31b9ac3c75e7aa904ea1b5fca37f6b2ea2622230",
"sum": "d1550yhsX4VxdVN7b0gWT0cido/W90P6OGLzLqPwZcs=" "sum": "d1550yhsX4VxdVN7b0gWT0cido/W90P6OGLzLqPwZcs="
}, },
{ {
@ -161,8 +161,8 @@
"subdir": "mixin" "subdir": "mixin"
} }
}, },
"version": "e94c136a4217f196375eb967757f4d97fad1256c", "version": "2d6b0d43f4e6cbd6089a70b4546a324052bacc8e",
"sum": "Io++1+lp1oQVoQiVRSCXUiGdTIRPV7aL6Ewgs3bShEs=", "sum": "JGtDv5cQBGsDVhCjG0sOhVPaNO3LvP9+Lf0iVTrEPQI=",
"name": "thanos-mixin" "name": "thanos-mixin"
}, },
{ {

View File

@ -13,6 +13,7 @@ rules:
resources: resources:
- alertmanagers - alertmanagers
- alertmanagers/finalizers - alertmanagers/finalizers
- alertmanagers/status
- alertmanagerconfigs - alertmanagerconfigs
- prometheuses - prometheuses
- prometheuses/finalizers - prometheuses/finalizers

View File

@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.9.2 controller-gen.kubebuilder.io/version: v0.11.1
creationTimestamp: null creationTimestamp: null
name: alertmanagerconfigs.monitoring.coreos.com name: alertmanagerconfigs.monitoring.coreos.com
spec: spec:

View File

@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.9.2 controller-gen.kubebuilder.io/version: v0.11.1
creationTimestamp: null creationTimestamp: null
name: alertmanagers.monitoring.coreos.com name: alertmanagers.monitoring.coreos.com
spec: spec:
@ -27,6 +27,16 @@ spec:
jsonPath: .spec.replicas jsonPath: .spec.replicas
name: Replicas name: Replicas
type: integer type: integer
- description: The number of ready replicas
jsonPath: .status.availableReplicas
name: Ready
type: integer
- jsonPath: .status.conditions[?(@.type == 'Reconciled')].status
name: Reconciled
type: string
- jsonPath: .status.conditions[?(@.type == 'Available')].status
name: Available
type: string
- jsonPath: .metadata.creationTimestamp - jsonPath: .metadata.creationTimestamp
name: Age name: Age
type: date type: date
@ -2213,6 +2223,27 @@ spec:
description: 'Compute Resources required by this container. description: 'Compute Resources required by this container.
Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
properties: properties:
claims:
description: "Claims lists the names of resources, defined
in spec.resourceClaims, that are used by this container.
\n This is an alpha field and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
items:
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name of one entry
in pod.spec.resourceClaims of the Pod where this
field is used. It makes that resource available
inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -3508,6 +3539,27 @@ spec:
description: 'Compute Resources required by this container. description: 'Compute Resources required by this container.
Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
properties: properties:
claims:
description: "Claims lists the names of resources, defined
in spec.resourceClaims, that are used by this container.
\n This is an alpha field and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
items:
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name of one entry
in pod.spec.resourceClaims of the Pod where this
field is used. It makes that resource available
inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -4058,6 +4110,26 @@ spec:
resources: resources:
description: Define resources requests and limits for single Pods. description: Define resources requests and limits for single Pods.
properties: properties:
claims:
description: "Claims lists the names of resources, defined in
spec.resourceClaims, that are used by this container. \n This
is an alpha field and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
items:
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name of one entry in pod.spec.resourceClaims
of the Pod where this field is used. It makes that resource
available inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -4205,9 +4277,14 @@ spec:
type: object type: object
supplementalGroups: supplementalGroups:
description: A list of groups applied to the first process run description: A list of groups applied to the first process run
in each container, in addition to the container's primary GID. If in each container, in addition to the container's primary GID,
unspecified, no groups will be added to any container. Note the fsGroup (if specified), and group memberships defined in
that this field cannot be set when spec.os.name is windows. the container image for the uid of the container process. If
unspecified, no additional groups are added to any container.
Note that group memberships defined in the container image for
the uid of the container process are still effective, even if
they are not included in this list. Note that this field cannot
be set when spec.os.name is windows.
items: items:
format: int64 format: int64
type: integer type: integer
@ -4363,9 +4440,12 @@ spec:
provisioner or an external controller can support provisioner or an external controller can support
the specified data source, it will create a new the specified data source, it will create a new
volume based on the contents of the specified data volume based on the contents of the specified data
source. If the AnyVolumeDataSource feature gate source. When the AnyVolumeDataSource feature gate
is enabled, this field will always have the same is enabled, dataSource contents will be copied to
contents as the DataSourceRef field.' dataSourceRef, and dataSourceRef contents will be
copied to dataSource when dataSourceRef.namespace
is not specified. If the namespace is specified,
then dataSourceRef will not be copied to dataSource.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource
@ -4390,27 +4470,33 @@ spec:
dataSourceRef: dataSourceRef:
description: 'dataSourceRef specifies the object from description: 'dataSourceRef specifies the object from
which to populate the volume with data, if a non-empty which to populate the volume with data, if a non-empty
volume is desired. This may be any local object volume is desired. This may be any object from a
from a non-empty API group (non core object) or non-empty API group (non core object) or a PersistentVolumeClaim
a PersistentVolumeClaim object. When this field object. When this field is specified, volume binding
is specified, volume binding will only succeed if will only succeed if the type of the specified object
the type of the specified object matches some installed matches some installed volume populator or dynamic
volume populator or dynamic provisioner. This field provisioner. This field will replace the functionality
will replace the functionality of the DataSource of the dataSource field and as such if both fields
field and as such if both fields are non-empty, are non-empty, they must have the same value. For
they must have the same value. For backwards compatibility, backwards compatibility, when namespace isn''t specified
both fields (DataSource and DataSourceRef) will in dataSourceRef, both fields (dataSource and dataSourceRef)
be set to the same value automatically if one of will be set to the same value automatically if one
them is empty and the other is non-empty. There of them is empty and the other is non-empty. When
are two important differences between DataSource namespace is specified in dataSourceRef, dataSource
and DataSourceRef: * While DataSource only allows isn''t set to the same value and must be empty.
two specific types of objects, DataSourceRef allows There are three important differences between dataSource
and dataSourceRef: * While dataSource only allows
two specific types of objects, dataSourceRef allows
any non-core object, as well as PersistentVolumeClaim any non-core object, as well as PersistentVolumeClaim
objects. * While DataSource ignores disallowed values objects. * While dataSource ignores disallowed values
(dropping them), DataSourceRef preserves all values, (dropping them), dataSourceRef preserves all values,
and generates an error if a disallowed value is and generates an error if a disallowed value is
specified. (Beta) Using this field requires the specified. * While dataSource only allows local
AnyVolumeDataSource feature gate to be enabled.' objects, dataSourceRef allows objects in any namespaces.
(Beta) Using this field requires the AnyVolumeDataSource
feature gate to be enabled. (Alpha) Using the namespace
field of dataSourceRef requires the CrossNamespaceVolumeDataSource
feature gate to be enabled.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource
@ -4427,11 +4513,21 @@ spec:
description: Name is the name of resource being description: Name is the name of resource being
referenced referenced
type: string type: string
namespace:
description: Namespace is the namespace of resource
being referenced Note that when a namespace
is specified, a gateway.networking.k8s.io/ReferenceGrant
object is required in the referent namespace
to allow that namespace's owner to accept the
reference. See the ReferenceGrant documentation
for details. (Alpha) This field requires the
CrossNamespaceVolumeDataSource feature gate
to be enabled.
type: string
required: required:
- kind - kind
- name - name
type: object type: object
x-kubernetes-map-type: atomic
resources: resources:
description: 'resources represents the minimum resources description: 'resources represents the minimum resources
the volume should have. If RecoverVolumeExpansionFailure the volume should have. If RecoverVolumeExpansionFailure
@ -4440,6 +4536,29 @@ spec:
value but must still be higher than capacity recorded value but must still be higher than capacity recorded
in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources' in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'
properties: properties:
claims:
description: "Claims lists the names of resources,
defined in spec.resourceClaims, that are used
by this container. \n This is an alpha field
and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
items:
description: ResourceClaim references one entry
in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name of
one entry in pod.spec.resourceClaims of
the Pod where this field is used. It makes
that resource available inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -4596,9 +4715,12 @@ spec:
* An existing PVC (PersistentVolumeClaim) If the provisioner * An existing PVC (PersistentVolumeClaim) If the provisioner
or an external controller can support the specified or an external controller can support the specified
data source, it will create a new volume based on the data source, it will create a new volume based on the
contents of the specified data source. If the AnyVolumeDataSource contents of the specified data source. When the AnyVolumeDataSource
feature gate is enabled, this field will always have feature gate is enabled, dataSource contents will be
the same contents as the DataSourceRef field.' copied to dataSourceRef, and dataSourceRef contents
will be copied to dataSource when dataSourceRef.namespace
is not specified. If the namespace is specified, then
dataSourceRef will not be copied to dataSource.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource
@ -4620,24 +4742,31 @@ spec:
dataSourceRef: dataSourceRef:
description: 'dataSourceRef specifies the object from description: 'dataSourceRef specifies the object from
which to populate the volume with data, if a non-empty which to populate the volume with data, if a non-empty
volume is desired. This may be any local object from volume is desired. This may be any object from a non-empty
a non-empty API group (non core object) or a PersistentVolumeClaim API group (non core object) or a PersistentVolumeClaim
object. When this field is specified, volume binding object. When this field is specified, volume binding
will only succeed if the type of the specified object will only succeed if the type of the specified object
matches some installed volume populator or dynamic provisioner. matches some installed volume populator or dynamic provisioner.
This field will replace the functionality of the DataSource This field will replace the functionality of the dataSource
field and as such if both fields are non-empty, they field and as such if both fields are non-empty, they
must have the same value. For backwards compatibility, must have the same value. For backwards compatibility,
both fields (DataSource and DataSourceRef) will be set when namespace isn''t specified in dataSourceRef, both
to the same value automatically if one of them is empty fields (dataSource and dataSourceRef) will be set to
and the other is non-empty. There are two important the same value automatically if one of them is empty
differences between DataSource and DataSourceRef: * and the other is non-empty. When namespace is specified
While DataSource only allows two specific types of objects, in dataSourceRef, dataSource isn''t set to the same
DataSourceRef allows any non-core object, as well as value and must be empty. There are three important differences
PersistentVolumeClaim objects. * While DataSource ignores between dataSource and dataSourceRef: * While dataSource
disallowed values (dropping them), DataSourceRef preserves only allows two specific types of objects, dataSourceRef
all values, and generates an error if a disallowed value allows any non-core object, as well as PersistentVolumeClaim
is specified. (Beta) Using this field requires the AnyVolumeDataSource objects. * While dataSource ignores disallowed values
(dropping them), dataSourceRef preserves all values,
and generates an error if a disallowed value is specified.
* While dataSource only allows local objects, dataSourceRef
allows objects in any namespaces. (Beta) Using this
field requires the AnyVolumeDataSource feature gate
to be enabled. (Alpha) Using the namespace field of
dataSourceRef requires the CrossNamespaceVolumeDataSource
feature gate to be enabled.' feature gate to be enabled.'
properties: properties:
apiGroup: apiGroup:
@ -4652,11 +4781,20 @@ spec:
name: name:
description: Name is the name of resource being referenced description: Name is the name of resource being referenced
type: string type: string
namespace:
description: Namespace is the namespace of resource
being referenced Note that when a namespace is specified,
a gateway.networking.k8s.io/ReferenceGrant object
is required in the referent namespace to allow that
namespace's owner to accept the reference. See the
ReferenceGrant documentation for details. (Alpha)
This field requires the CrossNamespaceVolumeDataSource
feature gate to be enabled.
type: string
required: required:
- kind - kind
- name - name
type: object type: object
x-kubernetes-map-type: atomic
resources: resources:
description: 'resources represents the minimum resources description: 'resources represents the minimum resources
the volume should have. If RecoverVolumeExpansionFailure the volume should have. If RecoverVolumeExpansionFailure
@ -4665,6 +4803,29 @@ spec:
must still be higher than capacity recorded in the status must still be higher than capacity recorded in the status
field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources' field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'
properties: properties:
claims:
description: "Claims lists the names of resources,
defined in spec.resourceClaims, that are used by
this container. \n This is an alpha field and requires
enabling the DynamicResourceAllocation feature gate.
\n This field is immutable."
items:
description: ResourceClaim references one entry
in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name of one
entry in pod.spec.resourceClaims of the Pod
where this field is used. It makes that resource
available inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -5008,8 +5169,8 @@ spec:
are included in the calculations. - Ignore: nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector
are ignored. All nodes are included in the calculations. \n are ignored. All nodes are included in the calculations. \n
If this value is nil, the behavior is equivalent to the Honor If this value is nil, the behavior is equivalent to the Honor
policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread policy. This is a beta-level feature default enabled by the
feature flag." NodeInclusionPolicyInPodTopologySpread feature flag."
type: string type: string
nodeTaintsPolicy: nodeTaintsPolicy:
description: "NodeTaintsPolicy indicates how we will treat node description: "NodeTaintsPolicy indicates how we will treat node
@ -5018,8 +5179,8 @@ spec:
for which the incoming pod has a toleration, are included. for which the incoming pod has a toleration, are included.
- Ignore: node taints are ignored. All nodes are included. - Ignore: node taints are ignored. All nodes are included.
\n If this value is nil, the behavior is equivalent to the \n If this value is nil, the behavior is equivalent to the
Ignore policy. This is a alpha-level feature enabled by the Ignore policy. This is a beta-level feature default enabled
NodeInclusionPolicyInPodTopologySpread feature flag." by the NodeInclusionPolicyInPodTopologySpread feature flag."
type: string type: string
topologyKey: topologyKey:
description: TopologyKey is the key of node labels. Nodes that description: TopologyKey is the key of node labels. Nodes that
@ -5560,9 +5721,12 @@ spec:
provisioner or an external controller can support provisioner or an external controller can support
the specified data source, it will create a new the specified data source, it will create a new
volume based on the contents of the specified volume based on the contents of the specified
data source. If the AnyVolumeDataSource feature data source. When the AnyVolumeDataSource feature
gate is enabled, this field will always have the gate is enabled, dataSource contents will be copied
same contents as the DataSourceRef field.' to dataSourceRef, and dataSourceRef contents will
be copied to dataSource when dataSourceRef.namespace
is not specified. If the namespace is specified,
then dataSourceRef will not be copied to dataSource.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource
@ -5588,27 +5752,35 @@ spec:
description: 'dataSourceRef specifies the object description: 'dataSourceRef specifies the object
from which to populate the volume with data, if from which to populate the volume with data, if
a non-empty volume is desired. This may be any a non-empty volume is desired. This may be any
local object from a non-empty API group (non core object from a non-empty API group (non core object)
object) or a PersistentVolumeClaim object. When or a PersistentVolumeClaim object. When this field
this field is specified, volume binding will only is specified, volume binding will only succeed
succeed if the type of the specified object matches if the type of the specified object matches some
some installed volume populator or dynamic provisioner. installed volume populator or dynamic provisioner.
This field will replace the functionality of the This field will replace the functionality of the
DataSource field and as such if both fields are dataSource field and as such if both fields are
non-empty, they must have the same value. For non-empty, they must have the same value. For
backwards compatibility, both fields (DataSource backwards compatibility, when namespace isn''t
and DataSourceRef) will be set to the same value specified in dataSourceRef, both fields (dataSource
and dataSourceRef) will be set to the same value
automatically if one of them is empty and the automatically if one of them is empty and the
other is non-empty. There are two important differences other is non-empty. When namespace is specified
between DataSource and DataSourceRef: * While in dataSourceRef, dataSource isn''t set to the
DataSource only allows two specific types of objects, same value and must be empty. There are three
DataSourceRef allows any non-core object, as well important differences between dataSource and dataSourceRef:
as PersistentVolumeClaim objects. * While DataSource * While dataSource only allows two specific types
ignores disallowed values (dropping them), DataSourceRef of objects, dataSourceRef allows any non-core
preserves all values, and generates an error if object, as well as PersistentVolumeClaim objects.
a disallowed value is specified. (Beta) Using * While dataSource ignores disallowed values (dropping
this field requires the AnyVolumeDataSource feature them), dataSourceRef preserves all values, and
gate to be enabled.' generates an error if a disallowed value is specified.
* While dataSource only allows local objects,
dataSourceRef allows objects in any namespaces.
(Beta) Using this field requires the AnyVolumeDataSource
feature gate to be enabled. (Alpha) Using the
namespace field of dataSourceRef requires the
CrossNamespaceVolumeDataSource feature gate to
be enabled.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource
@ -5625,11 +5797,21 @@ spec:
description: Name is the name of resource being description: Name is the name of resource being
referenced referenced
type: string type: string
namespace:
description: Namespace is the namespace of resource
being referenced Note that when a namespace
is specified, a gateway.networking.k8s.io/ReferenceGrant
object is required in the referent namespace
to allow that namespace's owner to accept
the reference. See the ReferenceGrant documentation
for details. (Alpha) This field requires the
CrossNamespaceVolumeDataSource feature gate
to be enabled.
type: string
required: required:
- kind - kind
- name - name
type: object type: object
x-kubernetes-map-type: atomic
resources: resources:
description: 'resources represents the minimum resources description: 'resources represents the minimum resources
the volume should have. If RecoverVolumeExpansionFailure the volume should have. If RecoverVolumeExpansionFailure
@ -5638,6 +5820,30 @@ spec:
value but must still be higher than capacity recorded value but must still be higher than capacity recorded
in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources' in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'
properties: properties:
claims:
description: "Claims lists the names of resources,
defined in spec.resourceClaims, that are used
by this container. \n This is an alpha field
and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
items:
description: ResourceClaim references one
entry in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name
of one entry in pod.spec.resourceClaims
of the Pod where this field is used.
It makes that resource available inside
a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -6821,31 +7027,71 @@ spec:
type: object type: object
status: status:
description: 'Most recent observed status of the Alertmanager cluster. description: 'Most recent observed status of the Alertmanager cluster.
Read-only. Not included when requesting from the apiserver, only from Read-only. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status'
the Prometheus Operator API itself. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status'
properties: properties:
availableReplicas: availableReplicas:
description: Total number of available pods (ready for at least minReadySeconds) description: Total number of available pods (ready for at least minReadySeconds)
targeted by this Alertmanager cluster. targeted by this Alertmanager cluster.
format: int32 format: int32
type: integer type: integer
conditions:
description: The current state of the Alertmanager object.
items:
description: Condition represents the state of the resources associated
with the Prometheus or Alertmanager resource.
properties:
lastTransitionTime:
description: lastTransitionTime is the time of the last update
to the current status property.
format: date-time
type: string
message:
description: Human-readable message indicating details for the
condition's last transition.
type: string
observedGeneration:
description: ObservedGeneration represents the .metadata.generation
that the condition was set based upon. For instance, if `.metadata.generation`
is currently 12, but the `.status.conditions[].observedGeneration`
is 9, the condition is out of date with respect to the current
state of the instance.
format: int64
type: integer
reason:
description: Reason for the condition's last transition.
type: string
status:
description: Status of the condition.
type: string
type:
description: Type of the condition being reported.
type: string
required:
- lastTransitionTime
- status
- type
type: object
type: array
x-kubernetes-list-map-keys:
- type
x-kubernetes-list-type: map
paused: paused:
description: Represents whether any actions on the underlying managed description: Represents whether any actions on the underlying managed
objects are being performed. Only delete actions will be performed. objects are being performed. Only delete actions will be performed.
type: boolean type: boolean
replicas: replicas:
description: Total number of non-terminated pods targeted by this description: Total number of non-terminated pods targeted by this
Alertmanager cluster (their labels match the selector). Alertmanager object (their labels match the selector).
format: int32 format: int32
type: integer type: integer
unavailableReplicas: unavailableReplicas:
description: Total number of unavailable pods targeted by this Alertmanager description: Total number of unavailable pods targeted by this Alertmanager
cluster. object.
format: int32 format: int32
type: integer type: integer
updatedReplicas: updatedReplicas:
description: Total number of non-terminated pods targeted by this description: Total number of non-terminated pods targeted by this
Alertmanager cluster that have the desired version spec. Alertmanager object that have the desired version spec.
format: int32 format: int32
type: integer type: integer
required: required:
@ -6860,4 +7106,5 @@ spec:
type: object type: object
served: true served: true
storage: true storage: true
subresources: {} subresources:
status: {}

View File

@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.9.2 controller-gen.kubebuilder.io/version: v0.11.1
creationTimestamp: null creationTimestamp: null
name: podmonitors.monitoring.coreos.com name: podmonitors.monitoring.coreos.com
spec: spec:

View File

@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.9.2 controller-gen.kubebuilder.io/version: v0.11.1
creationTimestamp: null creationTimestamp: null
name: probes.monitoring.coreos.com name: probes.monitoring.coreos.com
spec: spec:

View File

@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.9.2 controller-gen.kubebuilder.io/version: v0.11.1
creationTimestamp: null creationTimestamp: null
name: prometheuses.monitoring.coreos.com name: prometheuses.monitoring.coreos.com
spec: spec:
@ -2293,6 +2293,27 @@ spec:
description: 'Compute Resources required by this container. description: 'Compute Resources required by this container.
Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
properties: properties:
claims:
description: "Claims lists the names of resources, defined
in spec.resourceClaims, that are used by this container.
\n This is an alpha field and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
items:
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name of one entry
in pod.spec.resourceClaims of the Pod where this
field is used. It makes that resource available
inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -3745,6 +3766,27 @@ spec:
description: 'Compute Resources required by this container. description: 'Compute Resources required by this container.
Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
properties: properties:
claims:
description: "Claims lists the names of resources, defined
in spec.resourceClaims, that are used by this container.
\n This is an alpha field and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
items:
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name of one entry
in pod.spec.resourceClaims of the Pod where this
field is used. It makes that resource available
inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -5434,6 +5476,26 @@ spec:
resources: resources:
description: Define resources requests and limits for single Pods. description: Define resources requests and limits for single Pods.
properties: properties:
claims:
description: "Claims lists the names of resources, defined in
spec.resourceClaims, that are used by this container. \n This
is an alpha field and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
items:
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name of one entry in pod.spec.resourceClaims
of the Pod where this field is used. It makes that resource
available inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -5713,9 +5775,14 @@ spec:
type: object type: object
supplementalGroups: supplementalGroups:
description: A list of groups applied to the first process run description: A list of groups applied to the first process run
in each container, in addition to the container's primary GID. If in each container, in addition to the container's primary GID,
unspecified, no groups will be added to any container. Note the fsGroup (if specified), and group memberships defined in
that this field cannot be set when spec.os.name is windows. the container image for the uid of the container process. If
unspecified, no additional groups are added to any container.
Note that group memberships defined in the container image for
the uid of the container process are still effective, even if
they are not included in this list. Note that this field cannot
be set when spec.os.name is windows.
items: items:
format: int64 format: int64
type: integer type: integer
@ -5974,9 +6041,12 @@ spec:
provisioner or an external controller can support provisioner or an external controller can support
the specified data source, it will create a new the specified data source, it will create a new
volume based on the contents of the specified data volume based on the contents of the specified data
source. If the AnyVolumeDataSource feature gate source. When the AnyVolumeDataSource feature gate
is enabled, this field will always have the same is enabled, dataSource contents will be copied to
contents as the DataSourceRef field.' dataSourceRef, and dataSourceRef contents will be
copied to dataSource when dataSourceRef.namespace
is not specified. If the namespace is specified,
then dataSourceRef will not be copied to dataSource.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource
@ -6001,27 +6071,33 @@ spec:
dataSourceRef: dataSourceRef:
description: 'dataSourceRef specifies the object from description: 'dataSourceRef specifies the object from
which to populate the volume with data, if a non-empty which to populate the volume with data, if a non-empty
volume is desired. This may be any local object volume is desired. This may be any object from a
from a non-empty API group (non core object) or non-empty API group (non core object) or a PersistentVolumeClaim
a PersistentVolumeClaim object. When this field object. When this field is specified, volume binding
is specified, volume binding will only succeed if will only succeed if the type of the specified object
the type of the specified object matches some installed matches some installed volume populator or dynamic
volume populator or dynamic provisioner. This field provisioner. This field will replace the functionality
will replace the functionality of the DataSource of the dataSource field and as such if both fields
field and as such if both fields are non-empty, are non-empty, they must have the same value. For
they must have the same value. For backwards compatibility, backwards compatibility, when namespace isn''t specified
both fields (DataSource and DataSourceRef) will in dataSourceRef, both fields (dataSource and dataSourceRef)
be set to the same value automatically if one of will be set to the same value automatically if one
them is empty and the other is non-empty. There of them is empty and the other is non-empty. When
are two important differences between DataSource namespace is specified in dataSourceRef, dataSource
and DataSourceRef: * While DataSource only allows isn''t set to the same value and must be empty.
two specific types of objects, DataSourceRef allows There are three important differences between dataSource
and dataSourceRef: * While dataSource only allows
two specific types of objects, dataSourceRef allows
any non-core object, as well as PersistentVolumeClaim any non-core object, as well as PersistentVolumeClaim
objects. * While DataSource ignores disallowed values objects. * While dataSource ignores disallowed values
(dropping them), DataSourceRef preserves all values, (dropping them), dataSourceRef preserves all values,
and generates an error if a disallowed value is and generates an error if a disallowed value is
specified. (Beta) Using this field requires the specified. * While dataSource only allows local
AnyVolumeDataSource feature gate to be enabled.' objects, dataSourceRef allows objects in any namespaces.
(Beta) Using this field requires the AnyVolumeDataSource
feature gate to be enabled. (Alpha) Using the namespace
field of dataSourceRef requires the CrossNamespaceVolumeDataSource
feature gate to be enabled.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource
@ -6038,11 +6114,21 @@ spec:
description: Name is the name of resource being description: Name is the name of resource being
referenced referenced
type: string type: string
namespace:
description: Namespace is the namespace of resource
being referenced Note that when a namespace
is specified, a gateway.networking.k8s.io/ReferenceGrant
object is required in the referent namespace
to allow that namespace's owner to accept the
reference. See the ReferenceGrant documentation
for details. (Alpha) This field requires the
CrossNamespaceVolumeDataSource feature gate
to be enabled.
type: string
required: required:
- kind - kind
- name - name
type: object type: object
x-kubernetes-map-type: atomic
resources: resources:
description: 'resources represents the minimum resources description: 'resources represents the minimum resources
the volume should have. If RecoverVolumeExpansionFailure the volume should have. If RecoverVolumeExpansionFailure
@ -6051,6 +6137,29 @@ spec:
value but must still be higher than capacity recorded value but must still be higher than capacity recorded
in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources' in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'
properties: properties:
claims:
description: "Claims lists the names of resources,
defined in spec.resourceClaims, that are used
by this container. \n This is an alpha field
and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
items:
description: ResourceClaim references one entry
in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name of
one entry in pod.spec.resourceClaims of
the Pod where this field is used. It makes
that resource available inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -6207,9 +6316,12 @@ spec:
* An existing PVC (PersistentVolumeClaim) If the provisioner * An existing PVC (PersistentVolumeClaim) If the provisioner
or an external controller can support the specified or an external controller can support the specified
data source, it will create a new volume based on the data source, it will create a new volume based on the
contents of the specified data source. If the AnyVolumeDataSource contents of the specified data source. When the AnyVolumeDataSource
feature gate is enabled, this field will always have feature gate is enabled, dataSource contents will be
the same contents as the DataSourceRef field.' copied to dataSourceRef, and dataSourceRef contents
will be copied to dataSource when dataSourceRef.namespace
is not specified. If the namespace is specified, then
dataSourceRef will not be copied to dataSource.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource
@ -6231,24 +6343,31 @@ spec:
dataSourceRef: dataSourceRef:
description: 'dataSourceRef specifies the object from description: 'dataSourceRef specifies the object from
which to populate the volume with data, if a non-empty which to populate the volume with data, if a non-empty
volume is desired. This may be any local object from volume is desired. This may be any object from a non-empty
a non-empty API group (non core object) or a PersistentVolumeClaim API group (non core object) or a PersistentVolumeClaim
object. When this field is specified, volume binding object. When this field is specified, volume binding
will only succeed if the type of the specified object will only succeed if the type of the specified object
matches some installed volume populator or dynamic provisioner. matches some installed volume populator or dynamic provisioner.
This field will replace the functionality of the DataSource This field will replace the functionality of the dataSource
field and as such if both fields are non-empty, they field and as such if both fields are non-empty, they
must have the same value. For backwards compatibility, must have the same value. For backwards compatibility,
both fields (DataSource and DataSourceRef) will be set when namespace isn''t specified in dataSourceRef, both
to the same value automatically if one of them is empty fields (dataSource and dataSourceRef) will be set to
and the other is non-empty. There are two important the same value automatically if one of them is empty
differences between DataSource and DataSourceRef: * and the other is non-empty. When namespace is specified
While DataSource only allows two specific types of objects, in dataSourceRef, dataSource isn''t set to the same
DataSourceRef allows any non-core object, as well as value and must be empty. There are three important differences
PersistentVolumeClaim objects. * While DataSource ignores between dataSource and dataSourceRef: * While dataSource
disallowed values (dropping them), DataSourceRef preserves only allows two specific types of objects, dataSourceRef
all values, and generates an error if a disallowed value allows any non-core object, as well as PersistentVolumeClaim
is specified. (Beta) Using this field requires the AnyVolumeDataSource objects. * While dataSource ignores disallowed values
(dropping them), dataSourceRef preserves all values,
and generates an error if a disallowed value is specified.
* While dataSource only allows local objects, dataSourceRef
allows objects in any namespaces. (Beta) Using this
field requires the AnyVolumeDataSource feature gate
to be enabled. (Alpha) Using the namespace field of
dataSourceRef requires the CrossNamespaceVolumeDataSource
feature gate to be enabled.' feature gate to be enabled.'
properties: properties:
apiGroup: apiGroup:
@ -6263,11 +6382,20 @@ spec:
name: name:
description: Name is the name of resource being referenced description: Name is the name of resource being referenced
type: string type: string
namespace:
description: Namespace is the namespace of resource
being referenced Note that when a namespace is specified,
a gateway.networking.k8s.io/ReferenceGrant object
is required in the referent namespace to allow that
namespace's owner to accept the reference. See the
ReferenceGrant documentation for details. (Alpha)
This field requires the CrossNamespaceVolumeDataSource
feature gate to be enabled.
type: string
required: required:
- kind - kind
- name - name
type: object type: object
x-kubernetes-map-type: atomic
resources: resources:
description: 'resources represents the minimum resources description: 'resources represents the minimum resources
the volume should have. If RecoverVolumeExpansionFailure the volume should have. If RecoverVolumeExpansionFailure
@ -6276,6 +6404,29 @@ spec:
must still be higher than capacity recorded in the status must still be higher than capacity recorded in the status
field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources' field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'
properties: properties:
claims:
description: "Claims lists the names of resources,
defined in spec.resourceClaims, that are used by
this container. \n This is an alpha field and requires
enabling the DynamicResourceAllocation feature gate.
\n This field is immutable."
items:
description: ResourceClaim references one entry
in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name of one
entry in pod.spec.resourceClaims of the Pod
where this field is used. It makes that resource
available inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -6709,6 +6860,27 @@ spec:
Thanos sidecar. If not provided, no requests/limits will be Thanos sidecar. If not provided, no requests/limits will be
set set
properties: properties:
claims:
description: "Claims lists the names of resources, defined
in spec.resourceClaims, that are used by this container.
\n This is an alpha field and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
items:
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name of one entry in
pod.spec.resourceClaims of the Pod where this field
is used. It makes that resource available inside a
container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -6976,8 +7148,8 @@ spec:
are included in the calculations. - Ignore: nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector
are ignored. All nodes are included in the calculations. \n are ignored. All nodes are included in the calculations. \n
If this value is nil, the behavior is equivalent to the Honor If this value is nil, the behavior is equivalent to the Honor
policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread policy. This is a beta-level feature default enabled by the
feature flag." NodeInclusionPolicyInPodTopologySpread feature flag."
type: string type: string
nodeTaintsPolicy: nodeTaintsPolicy:
description: "NodeTaintsPolicy indicates how we will treat node description: "NodeTaintsPolicy indicates how we will treat node
@ -6986,8 +7158,8 @@ spec:
for which the incoming pod has a toleration, are included. for which the incoming pod has a toleration, are included.
- Ignore: node taints are ignored. All nodes are included. - Ignore: node taints are ignored. All nodes are included.
\n If this value is nil, the behavior is equivalent to the \n If this value is nil, the behavior is equivalent to the
Ignore policy. This is a alpha-level feature enabled by the Ignore policy. This is a beta-level feature default enabled
NodeInclusionPolicyInPodTopologySpread feature flag." by the NodeInclusionPolicyInPodTopologySpread feature flag."
type: string type: string
topologyKey: topologyKey:
description: TopologyKey is the key of node labels. Nodes that description: TopologyKey is the key of node labels. Nodes that
@ -7542,9 +7714,12 @@ spec:
provisioner or an external controller can support provisioner or an external controller can support
the specified data source, it will create a new the specified data source, it will create a new
volume based on the contents of the specified volume based on the contents of the specified
data source. If the AnyVolumeDataSource feature data source. When the AnyVolumeDataSource feature
gate is enabled, this field will always have the gate is enabled, dataSource contents will be copied
same contents as the DataSourceRef field.' to dataSourceRef, and dataSourceRef contents will
be copied to dataSource when dataSourceRef.namespace
is not specified. If the namespace is specified,
then dataSourceRef will not be copied to dataSource.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource
@ -7570,27 +7745,35 @@ spec:
description: 'dataSourceRef specifies the object description: 'dataSourceRef specifies the object
from which to populate the volume with data, if from which to populate the volume with data, if
a non-empty volume is desired. This may be any a non-empty volume is desired. This may be any
local object from a non-empty API group (non core object from a non-empty API group (non core object)
object) or a PersistentVolumeClaim object. When or a PersistentVolumeClaim object. When this field
this field is specified, volume binding will only is specified, volume binding will only succeed
succeed if the type of the specified object matches if the type of the specified object matches some
some installed volume populator or dynamic provisioner. installed volume populator or dynamic provisioner.
This field will replace the functionality of the This field will replace the functionality of the
DataSource field and as such if both fields are dataSource field and as such if both fields are
non-empty, they must have the same value. For non-empty, they must have the same value. For
backwards compatibility, both fields (DataSource backwards compatibility, when namespace isn''t
and DataSourceRef) will be set to the same value specified in dataSourceRef, both fields (dataSource
and dataSourceRef) will be set to the same value
automatically if one of them is empty and the automatically if one of them is empty and the
other is non-empty. There are two important differences other is non-empty. When namespace is specified
between DataSource and DataSourceRef: * While in dataSourceRef, dataSource isn''t set to the
DataSource only allows two specific types of objects, same value and must be empty. There are three
DataSourceRef allows any non-core object, as well important differences between dataSource and dataSourceRef:
as PersistentVolumeClaim objects. * While DataSource * While dataSource only allows two specific types
ignores disallowed values (dropping them), DataSourceRef of objects, dataSourceRef allows any non-core
preserves all values, and generates an error if object, as well as PersistentVolumeClaim objects.
a disallowed value is specified. (Beta) Using * While dataSource ignores disallowed values (dropping
this field requires the AnyVolumeDataSource feature them), dataSourceRef preserves all values, and
gate to be enabled.' generates an error if a disallowed value is specified.
* While dataSource only allows local objects,
dataSourceRef allows objects in any namespaces.
(Beta) Using this field requires the AnyVolumeDataSource
feature gate to be enabled. (Alpha) Using the
namespace field of dataSourceRef requires the
CrossNamespaceVolumeDataSource feature gate to
be enabled.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource
@ -7607,11 +7790,21 @@ spec:
description: Name is the name of resource being description: Name is the name of resource being
referenced referenced
type: string type: string
namespace:
description: Namespace is the namespace of resource
being referenced Note that when a namespace
is specified, a gateway.networking.k8s.io/ReferenceGrant
object is required in the referent namespace
to allow that namespace's owner to accept
the reference. See the ReferenceGrant documentation
for details. (Alpha) This field requires the
CrossNamespaceVolumeDataSource feature gate
to be enabled.
type: string
required: required:
- kind - kind
- name - name
type: object type: object
x-kubernetes-map-type: atomic
resources: resources:
description: 'resources represents the minimum resources description: 'resources represents the minimum resources
the volume should have. If RecoverVolumeExpansionFailure the volume should have. If RecoverVolumeExpansionFailure
@ -7620,6 +7813,30 @@ spec:
value but must still be higher than capacity recorded value but must still be higher than capacity recorded
in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources' in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'
properties: properties:
claims:
description: "Claims lists the names of resources,
defined in spec.resourceClaims, that are used
by this container. \n This is an alpha field
and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
items:
description: ResourceClaim references one
entry in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name
of one entry in pod.spec.resourceClaims
of the Pod where this field is used.
It makes that resource available inside
a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -8827,8 +9044,8 @@ spec:
conditions: conditions:
description: The current state of the Prometheus deployment. description: The current state of the Prometheus deployment.
items: items:
description: PrometheusCondition represents the state of the resources description: Condition represents the state of the resources associated
associated with the Prometheus resource. with the Prometheus or Alertmanager resource.
properties: properties:
lastTransitionTime: lastTransitionTime:
description: lastTransitionTime is the time of the last update description: lastTransitionTime is the time of the last update
@ -8841,8 +9058,8 @@ spec:
type: string type: string
observedGeneration: observedGeneration:
description: ObservedGeneration represents the .metadata.generation description: ObservedGeneration represents the .metadata.generation
that the condition was set based upon. For instance, if .metadata.generation that the condition was set based upon. For instance, if `.metadata.generation`
is currently 12, but the .status.conditions[x].observedGeneration is currently 12, but the `.status.conditions[].observedGeneration`
is 9, the condition is out of date with respect to the current is 9, the condition is out of date with respect to the current
state of the instance. state of the instance.
format: int64 format: int64
@ -8851,7 +9068,7 @@ spec:
description: Reason for the condition's last transition. description: Reason for the condition's last transition.
type: string type: string
status: status:
description: status of the condition. description: Status of the condition.
type: string type: string
type: type:
description: Type of the condition being reported. description: Type of the condition being reported.

View File

@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.9.2 controller-gen.kubebuilder.io/version: v0.11.1
creationTimestamp: null creationTimestamp: null
name: prometheusrules.monitoring.coreos.com name: prometheusrules.monitoring.coreos.com
spec: spec:

View File

@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.9.2 controller-gen.kubebuilder.io/version: v0.11.1
creationTimestamp: null creationTimestamp: null
name: servicemonitors.monitoring.coreos.com name: servicemonitors.monitoring.coreos.com
spec: spec:

View File

@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.9.2 controller-gen.kubebuilder.io/version: v0.11.1
creationTimestamp: null creationTimestamp: null
name: thanosrulers.monitoring.coreos.com name: thanosrulers.monitoring.coreos.com
spec: spec:
@ -1711,6 +1711,27 @@ spec:
description: 'Compute Resources required by this container. description: 'Compute Resources required by this container.
Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
properties: properties:
claims:
description: "Claims lists the names of resources, defined
in spec.resourceClaims, that are used by this container.
\n This is an alpha field and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
items:
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name of one entry
in pod.spec.resourceClaims of the Pod where this
field is used. It makes that resource available
inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -3169,6 +3190,27 @@ spec:
description: 'Compute Resources required by this container. description: 'Compute Resources required by this container.
Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
properties: properties:
claims:
description: "Claims lists the names of resources, defined
in spec.resourceClaims, that are used by this container.
\n This is an alpha field and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
items:
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name of one entry
in pod.spec.resourceClaims of the Pod where this
field is used. It makes that resource available
inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -3798,6 +3840,26 @@ spec:
description: Resources defines the resource requirements for single description: Resources defines the resource requirements for single
Pods. If not provided, no requests/limits will be set Pods. If not provided, no requests/limits will be set
properties: properties:
claims:
description: "Claims lists the names of resources, defined in
spec.resourceClaims, that are used by this container. \n This
is an alpha field and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
items:
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name of one entry in pod.spec.resourceClaims
of the Pod where this field is used. It makes that resource
available inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -4025,9 +4087,14 @@ spec:
type: object type: object
supplementalGroups: supplementalGroups:
description: A list of groups applied to the first process run description: A list of groups applied to the first process run
in each container, in addition to the container's primary GID. If in each container, in addition to the container's primary GID,
unspecified, no groups will be added to any container. Note the fsGroup (if specified), and group memberships defined in
that this field cannot be set when spec.os.name is windows. the container image for the uid of the container process. If
unspecified, no additional groups are added to any container.
Note that group memberships defined in the container image for
the uid of the container process are still effective, even if
they are not included in this list. Note that this field cannot
be set when spec.os.name is windows.
items: items:
format: int64 format: int64
type: integer type: integer
@ -4175,9 +4242,12 @@ spec:
provisioner or an external controller can support provisioner or an external controller can support
the specified data source, it will create a new the specified data source, it will create a new
volume based on the contents of the specified data volume based on the contents of the specified data
source. If the AnyVolumeDataSource feature gate source. When the AnyVolumeDataSource feature gate
is enabled, this field will always have the same is enabled, dataSource contents will be copied to
contents as the DataSourceRef field.' dataSourceRef, and dataSourceRef contents will be
copied to dataSource when dataSourceRef.namespace
is not specified. If the namespace is specified,
then dataSourceRef will not be copied to dataSource.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource
@ -4202,27 +4272,33 @@ spec:
dataSourceRef: dataSourceRef:
description: 'dataSourceRef specifies the object from description: 'dataSourceRef specifies the object from
which to populate the volume with data, if a non-empty which to populate the volume with data, if a non-empty
volume is desired. This may be any local object volume is desired. This may be any object from a
from a non-empty API group (non core object) or non-empty API group (non core object) or a PersistentVolumeClaim
a PersistentVolumeClaim object. When this field object. When this field is specified, volume binding
is specified, volume binding will only succeed if will only succeed if the type of the specified object
the type of the specified object matches some installed matches some installed volume populator or dynamic
volume populator or dynamic provisioner. This field provisioner. This field will replace the functionality
will replace the functionality of the DataSource of the dataSource field and as such if both fields
field and as such if both fields are non-empty, are non-empty, they must have the same value. For
they must have the same value. For backwards compatibility, backwards compatibility, when namespace isn''t specified
both fields (DataSource and DataSourceRef) will in dataSourceRef, both fields (dataSource and dataSourceRef)
be set to the same value automatically if one of will be set to the same value automatically if one
them is empty and the other is non-empty. There of them is empty and the other is non-empty. When
are two important differences between DataSource namespace is specified in dataSourceRef, dataSource
and DataSourceRef: * While DataSource only allows isn''t set to the same value and must be empty.
two specific types of objects, DataSourceRef allows There are three important differences between dataSource
and dataSourceRef: * While dataSource only allows
two specific types of objects, dataSourceRef allows
any non-core object, as well as PersistentVolumeClaim any non-core object, as well as PersistentVolumeClaim
objects. * While DataSource ignores disallowed values objects. * While dataSource ignores disallowed values
(dropping them), DataSourceRef preserves all values, (dropping them), dataSourceRef preserves all values,
and generates an error if a disallowed value is and generates an error if a disallowed value is
specified. (Beta) Using this field requires the specified. * While dataSource only allows local
AnyVolumeDataSource feature gate to be enabled.' objects, dataSourceRef allows objects in any namespaces.
(Beta) Using this field requires the AnyVolumeDataSource
feature gate to be enabled. (Alpha) Using the namespace
field of dataSourceRef requires the CrossNamespaceVolumeDataSource
feature gate to be enabled.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource
@ -4239,11 +4315,21 @@ spec:
description: Name is the name of resource being description: Name is the name of resource being
referenced referenced
type: string type: string
namespace:
description: Namespace is the namespace of resource
being referenced Note that when a namespace
is specified, a gateway.networking.k8s.io/ReferenceGrant
object is required in the referent namespace
to allow that namespace's owner to accept the
reference. See the ReferenceGrant documentation
for details. (Alpha) This field requires the
CrossNamespaceVolumeDataSource feature gate
to be enabled.
type: string
required: required:
- kind - kind
- name - name
type: object type: object
x-kubernetes-map-type: atomic
resources: resources:
description: 'resources represents the minimum resources description: 'resources represents the minimum resources
the volume should have. If RecoverVolumeExpansionFailure the volume should have. If RecoverVolumeExpansionFailure
@ -4252,6 +4338,29 @@ spec:
value but must still be higher than capacity recorded value but must still be higher than capacity recorded
in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources' in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'
properties: properties:
claims:
description: "Claims lists the names of resources,
defined in spec.resourceClaims, that are used
by this container. \n This is an alpha field
and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
items:
description: ResourceClaim references one entry
in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name of
one entry in pod.spec.resourceClaims of
the Pod where this field is used. It makes
that resource available inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -4408,9 +4517,12 @@ spec:
* An existing PVC (PersistentVolumeClaim) If the provisioner * An existing PVC (PersistentVolumeClaim) If the provisioner
or an external controller can support the specified or an external controller can support the specified
data source, it will create a new volume based on the data source, it will create a new volume based on the
contents of the specified data source. If the AnyVolumeDataSource contents of the specified data source. When the AnyVolumeDataSource
feature gate is enabled, this field will always have feature gate is enabled, dataSource contents will be
the same contents as the DataSourceRef field.' copied to dataSourceRef, and dataSourceRef contents
will be copied to dataSource when dataSourceRef.namespace
is not specified. If the namespace is specified, then
dataSourceRef will not be copied to dataSource.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource
@ -4432,24 +4544,31 @@ spec:
dataSourceRef: dataSourceRef:
description: 'dataSourceRef specifies the object from description: 'dataSourceRef specifies the object from
which to populate the volume with data, if a non-empty which to populate the volume with data, if a non-empty
volume is desired. This may be any local object from volume is desired. This may be any object from a non-empty
a non-empty API group (non core object) or a PersistentVolumeClaim API group (non core object) or a PersistentVolumeClaim
object. When this field is specified, volume binding object. When this field is specified, volume binding
will only succeed if the type of the specified object will only succeed if the type of the specified object
matches some installed volume populator or dynamic provisioner. matches some installed volume populator or dynamic provisioner.
This field will replace the functionality of the DataSource This field will replace the functionality of the dataSource
field and as such if both fields are non-empty, they field and as such if both fields are non-empty, they
must have the same value. For backwards compatibility, must have the same value. For backwards compatibility,
both fields (DataSource and DataSourceRef) will be set when namespace isn''t specified in dataSourceRef, both
to the same value automatically if one of them is empty fields (dataSource and dataSourceRef) will be set to
and the other is non-empty. There are two important the same value automatically if one of them is empty
differences between DataSource and DataSourceRef: * and the other is non-empty. When namespace is specified
While DataSource only allows two specific types of objects, in dataSourceRef, dataSource isn''t set to the same
DataSourceRef allows any non-core object, as well as value and must be empty. There are three important differences
PersistentVolumeClaim objects. * While DataSource ignores between dataSource and dataSourceRef: * While dataSource
disallowed values (dropping them), DataSourceRef preserves only allows two specific types of objects, dataSourceRef
all values, and generates an error if a disallowed value allows any non-core object, as well as PersistentVolumeClaim
is specified. (Beta) Using this field requires the AnyVolumeDataSource objects. * While dataSource ignores disallowed values
(dropping them), dataSourceRef preserves all values,
and generates an error if a disallowed value is specified.
* While dataSource only allows local objects, dataSourceRef
allows objects in any namespaces. (Beta) Using this
field requires the AnyVolumeDataSource feature gate
to be enabled. (Alpha) Using the namespace field of
dataSourceRef requires the CrossNamespaceVolumeDataSource
feature gate to be enabled.' feature gate to be enabled.'
properties: properties:
apiGroup: apiGroup:
@ -4464,11 +4583,20 @@ spec:
name: name:
description: Name is the name of resource being referenced description: Name is the name of resource being referenced
type: string type: string
namespace:
description: Namespace is the namespace of resource
being referenced Note that when a namespace is specified,
a gateway.networking.k8s.io/ReferenceGrant object
is required in the referent namespace to allow that
namespace's owner to accept the reference. See the
ReferenceGrant documentation for details. (Alpha)
This field requires the CrossNamespaceVolumeDataSource
feature gate to be enabled.
type: string
required: required:
- kind - kind
- name - name
type: object type: object
x-kubernetes-map-type: atomic
resources: resources:
description: 'resources represents the minimum resources description: 'resources represents the minimum resources
the volume should have. If RecoverVolumeExpansionFailure the volume should have. If RecoverVolumeExpansionFailure
@ -4477,6 +4605,29 @@ spec:
must still be higher than capacity recorded in the status must still be higher than capacity recorded in the status
field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources' field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'
properties: properties:
claims:
description: "Claims lists the names of resources,
defined in spec.resourceClaims, that are used by
this container. \n This is an alpha field and requires
enabling the DynamicResourceAllocation feature gate.
\n This field is immutable."
items:
description: ResourceClaim references one entry
in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name of one
entry in pod.spec.resourceClaims of the Pod
where this field is used. It makes that resource
available inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -4814,8 +4965,8 @@ spec:
are included in the calculations. - Ignore: nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector
are ignored. All nodes are included in the calculations. \n are ignored. All nodes are included in the calculations. \n
If this value is nil, the behavior is equivalent to the Honor If this value is nil, the behavior is equivalent to the Honor
policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread policy. This is a beta-level feature default enabled by the
feature flag." NodeInclusionPolicyInPodTopologySpread feature flag."
type: string type: string
nodeTaintsPolicy: nodeTaintsPolicy:
description: "NodeTaintsPolicy indicates how we will treat node description: "NodeTaintsPolicy indicates how we will treat node
@ -4824,8 +4975,8 @@ spec:
for which the incoming pod has a toleration, are included. for which the incoming pod has a toleration, are included.
- Ignore: node taints are ignored. All nodes are included. - Ignore: node taints are ignored. All nodes are included.
\n If this value is nil, the behavior is equivalent to the \n If this value is nil, the behavior is equivalent to the
Ignore policy. This is a alpha-level feature enabled by the Ignore policy. This is a beta-level feature default enabled
NodeInclusionPolicyInPodTopologySpread feature flag." by the NodeInclusionPolicyInPodTopologySpread feature flag."
type: string type: string
topologyKey: topologyKey:
description: TopologyKey is the key of node labels. Nodes that description: TopologyKey is the key of node labels. Nodes that
@ -5349,9 +5500,12 @@ spec:
provisioner or an external controller can support provisioner or an external controller can support
the specified data source, it will create a new the specified data source, it will create a new
volume based on the contents of the specified volume based on the contents of the specified
data source. If the AnyVolumeDataSource feature data source. When the AnyVolumeDataSource feature
gate is enabled, this field will always have the gate is enabled, dataSource contents will be copied
same contents as the DataSourceRef field.' to dataSourceRef, and dataSourceRef contents will
be copied to dataSource when dataSourceRef.namespace
is not specified. If the namespace is specified,
then dataSourceRef will not be copied to dataSource.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource
@ -5377,27 +5531,35 @@ spec:
description: 'dataSourceRef specifies the object description: 'dataSourceRef specifies the object
from which to populate the volume with data, if from which to populate the volume with data, if
a non-empty volume is desired. This may be any a non-empty volume is desired. This may be any
local object from a non-empty API group (non core object from a non-empty API group (non core object)
object) or a PersistentVolumeClaim object. When or a PersistentVolumeClaim object. When this field
this field is specified, volume binding will only is specified, volume binding will only succeed
succeed if the type of the specified object matches if the type of the specified object matches some
some installed volume populator or dynamic provisioner. installed volume populator or dynamic provisioner.
This field will replace the functionality of the This field will replace the functionality of the
DataSource field and as such if both fields are dataSource field and as such if both fields are
non-empty, they must have the same value. For non-empty, they must have the same value. For
backwards compatibility, both fields (DataSource backwards compatibility, when namespace isn''t
and DataSourceRef) will be set to the same value specified in dataSourceRef, both fields (dataSource
and dataSourceRef) will be set to the same value
automatically if one of them is empty and the automatically if one of them is empty and the
other is non-empty. There are two important differences other is non-empty. When namespace is specified
between DataSource and DataSourceRef: * While in dataSourceRef, dataSource isn''t set to the
DataSource only allows two specific types of objects, same value and must be empty. There are three
DataSourceRef allows any non-core object, as well important differences between dataSource and dataSourceRef:
as PersistentVolumeClaim objects. * While DataSource * While dataSource only allows two specific types
ignores disallowed values (dropping them), DataSourceRef of objects, dataSourceRef allows any non-core
preserves all values, and generates an error if object, as well as PersistentVolumeClaim objects.
a disallowed value is specified. (Beta) Using * While dataSource ignores disallowed values (dropping
this field requires the AnyVolumeDataSource feature them), dataSourceRef preserves all values, and
gate to be enabled.' generates an error if a disallowed value is specified.
* While dataSource only allows local objects,
dataSourceRef allows objects in any namespaces.
(Beta) Using this field requires the AnyVolumeDataSource
feature gate to be enabled. (Alpha) Using the
namespace field of dataSourceRef requires the
CrossNamespaceVolumeDataSource feature gate to
be enabled.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource
@ -5414,11 +5576,21 @@ spec:
description: Name is the name of resource being description: Name is the name of resource being
referenced referenced
type: string type: string
namespace:
description: Namespace is the namespace of resource
being referenced Note that when a namespace
is specified, a gateway.networking.k8s.io/ReferenceGrant
object is required in the referent namespace
to allow that namespace's owner to accept
the reference. See the ReferenceGrant documentation
for details. (Alpha) This field requires the
CrossNamespaceVolumeDataSource feature gate
to be enabled.
type: string
required: required:
- kind - kind
- name - name
type: object type: object
x-kubernetes-map-type: atomic
resources: resources:
description: 'resources represents the minimum resources description: 'resources represents the minimum resources
the volume should have. If RecoverVolumeExpansionFailure the volume should have. If RecoverVolumeExpansionFailure
@ -5427,6 +5599,30 @@ spec:
value but must still be higher than capacity recorded value but must still be higher than capacity recorded
in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources' in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'
properties: properties:
claims:
description: "Claims lists the names of resources,
defined in spec.resourceClaims, that are used
by this container. \n This is an alpha field
and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
items:
description: ResourceClaim references one
entry in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name
of one entry in pod.spec.resourceClaims
of the Pod where this field is used.
It makes that resource available inside
a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf: