From 1399ee751ca4e02e2d4cadec232d9495cd256313 Mon Sep 17 00:00:00 2001 From: lgtm <1gtm@users.noreply.github.com> Date: Tue, 4 Jun 2024 14:22:56 -0700 Subject: [PATCH] Prepare for release v0.46.0 (#769) ProductLine: KubeDB Release: v2024.6.4 Release-tracker: https://github.com/kubedb/CHANGELOG/pull/90 Signed-off-by: 1gtm <1gtm@appscode.com> --- go.mod | 6 +- go.sum | 12 +- .../crds/addons.kubestash.com_addons.yaml | 404 ++- .../crds/addons.kubestash.com_functions.yaml | 97 +- .../core.kubestash.com_backupbatches.yaml | 2710 +++++++++++++--- .../core.kubestash.com_backupblueprints.yaml | 2755 ++++++++++++++--- ...re.kubestash.com_backupconfigurations.yaml | 2585 +++++++++++++--- .../core.kubestash.com_hooktemplates.yaml | 210 +- .../core.kubestash.com_restoresessions.yaml | 1952 +++++++++--- .../storage.kubestash.com_backupstorages.yaml | 356 ++- ...orage.kubestash.com_retentionpolicies.yaml | 2 + vendor/modules.txt | 6 +- 12 files changed, 9131 insertions(+), 1964 deletions(-) diff --git a/go.mod b/go.mod index 772e4b6ae..db681198b 100644 --- a/go.mod +++ b/go.mod @@ -29,8 +29,8 @@ require ( kmodules.xyz/client-go v0.30.1 kmodules.xyz/custom-resources v0.29.1 kmodules.xyz/monitoring-agent-api v0.29.0 - kubedb.dev/apimachinery v0.45.2-0.20240603193403-f64ef77856a3 - kubedb.dev/db-client-go v0.0.15 + kubedb.dev/apimachinery v0.46.0 + kubedb.dev/db-client-go v0.1.0 sigs.k8s.io/controller-runtime v0.18.3 sigs.k8s.io/yaml v1.4.0 stash.appscode.dev/apimachinery v0.34.0 @@ -146,7 +146,7 @@ require ( kmodules.xyz/resource-metadata v0.18.6 // indirect kubeops.dev/petset v0.0.6 // indirect kubeops.dev/sidekick v0.0.7 // indirect - kubestash.dev/apimachinery v0.8.0 // indirect + kubestash.dev/apimachinery v0.9.0 // indirect sigs.k8s.io/gateway-api v1.0.0 // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect sigs.k8s.io/kustomize/api v0.13.5-0.20230601165947-6ce0bf390ce3 // indirect diff --git a/go.sum b/go.sum index 1ae1e0146..5bfee26ef 100644 --- a/go.sum +++ b/go.sum @@ -733,16 +733,16 @@ kmodules.xyz/prober v0.29.0 h1:Ex7m4F9rH7uWNNJlLgP63ROOM+nUATJkC2L5OQ7nwMg= kmodules.xyz/prober v0.29.0/go.mod h1:UtK+HKyI1lFLEKX+HFLyOCVju6TO93zv3kwGpzqmKOo= kmodules.xyz/resource-metadata v0.18.6 h1:j/hCjJneBb4qS7tG6BDIvlCATej7KDiIpcf3QZ6KyTI= kmodules.xyz/resource-metadata v0.18.6/go.mod h1:WKwJXM00EFKeDXDF+fjEMwxyZnKs/1SXMj9nt0VbDHs= -kubedb.dev/apimachinery v0.45.2-0.20240603193403-f64ef77856a3 h1:r+2R4KSq3xNRhxdyg5XR2KsFvYPjtA9H9unvkiIl+pM= -kubedb.dev/apimachinery v0.45.2-0.20240603193403-f64ef77856a3/go.mod h1:43NIQy0UcwDbNtWef+yx4woCOfdP7Aaf/rAfkmy6GVA= -kubedb.dev/db-client-go v0.0.15 h1:ktUw9CxLzncZl0P7kGMG3gMfgltnaLrXqnf4qk6W5cU= -kubedb.dev/db-client-go v0.0.15/go.mod h1:OcmkFT4b5OlFVUeoZrpcL6LWfy/y5LG8ncVNWPbvjJA= +kubedb.dev/apimachinery v0.46.0 h1:3wNu7i08GYR6Li2vs5T6U3PtIn0rRmYs4vFHll7a57k= +kubedb.dev/apimachinery v0.46.0/go.mod h1:tAL1spTp20IaFQWH1tccGhoHEpcUKTtbWbbrVhjSG+E= +kubedb.dev/db-client-go v0.1.0 h1:DkqdIqRy3q0sz34LgcaBjP7a5KIDKw3+Txk9PJuMW7g= +kubedb.dev/db-client-go v0.1.0/go.mod h1:kFN8FdBxMUbgnf9qNPNo61w64ajPeISKA+kla1wI4Og= kubeops.dev/petset v0.0.6 h1:0IbvxD9fadZfH+3iMZWzN6ZHsO0vX458JlioamwyPKQ= kubeops.dev/petset v0.0.6/go.mod h1:A15vh0r979NsvL65DTIZKWsa/NoX9VapHBAEw1ZsdYI= kubeops.dev/sidekick v0.0.7 h1:+rs9AXPsiHjq5pJpzmj+Cen7frPfdi5dK1A57eNh7GM= kubeops.dev/sidekick v0.0.7/go.mod h1:bYS5Q6DksOzqzQPwiRbFRbV1uXuYmzY+0QYSqNFq4/M= -kubestash.dev/apimachinery v0.8.0 h1:2W1TlX8hXiWD93DQGvJjirq2QYSKED9uYjquzsuhMJ4= -kubestash.dev/apimachinery v0.8.0/go.mod h1:lZ6Y//9BY4rmx+Qwvawxo1NjKgaiAG/v9RfPXHWgIa4= +kubestash.dev/apimachinery v0.9.0 h1:jj5JW6HuhaQogztEhFzVJ7rkDuOaHivX836tPJ1N51E= +kubestash.dev/apimachinery v0.9.0/go.mod h1:ElttP7EeECmi8+qsJJ9s7WjUlKG8MkjHSVo/gV6FV88= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= sigs.k8s.io/gateway-api v1.0.0 h1:iPTStSv41+d9p0xFydll6d7f7MOBGuqXM6p2/zVYMAs= sigs.k8s.io/gateway-api v1.0.0/go.mod h1:4cUgr0Lnp5FZ0Cdq8FdRwCvpiWws7LVhLHGIudLlf4c= diff --git a/vendor/kubestash.dev/apimachinery/crds/addons.kubestash.com_addons.yaml b/vendor/kubestash.dev/apimachinery/crds/addons.kubestash.com_addons.yaml index 739dec43b..df8287225 100644 --- a/vendor/kubestash.dev/apimachinery/crds/addons.kubestash.com_addons.yaml +++ b/vendor/kubestash.dev/apimachinery/crds/addons.kubestash.com_addons.yaml @@ -143,7 +143,9 @@ spec: description: mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. - This field is beta in 1.10. + This field is beta in 1.10. When RecursiveReadOnly is + set to IfPossible or to Enabled, MountPropagation must + be None or unspecified (which defaults to None). type: string name: description: This must match the Name of a Volume. @@ -152,6 +154,23 @@ spec: description: Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only + mounts should be handled recursively. \n If ReadOnly + is false, this field has no meaning and must be unspecified. + \n If ReadOnly is true, and this field is set to Disabled, + the mount is not made recursively read-only. If this + field is set to IfPossible, the mount is made recursively + read-only, if it is supported by the container runtime. + \ If this field is set to Enabled, the mount is made + recursively read-only if it is supported by the container + runtime, otherwise the pod will not be started and an + error will be generated to indicate the reason. \n If + this field is set to IfPossible or Enabled, MountPropagation + must be set to None (or be unspecified, which defaults + to None). \n If this field is not specified, it is treated + as an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). @@ -293,6 +312,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than the full Ceph tree, default @@ -315,10 +335,16 @@ spec: User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -352,10 +378,16 @@ spec: connect to OpenStack.' properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -429,11 +461,17 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, - uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are almost + certainly wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether the ConfigMap @@ -469,10 +507,16 @@ spec: are passed. properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -521,7 +565,7 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, labels, - name and namespace are supported.' + name, namespace and uid are supported.' properties: apiVersion: description: Version of the schema the @@ -589,6 +633,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary directory @@ -813,6 +858,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An existing @@ -1003,11 +1049,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1050,7 +1098,7 @@ spec: be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: - https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -1099,6 +1147,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination @@ -1107,6 +1156,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic volume @@ -1145,10 +1195,16 @@ spec: to the plugin scripts.' properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -1304,6 +1360,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. @@ -1313,10 +1370,16 @@ spec: iSCSI target and initiator authentication properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -1496,11 +1559,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1603,11 +1668,19 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -1631,8 +1704,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace are - supported.' + labels, name, namespace and + uid are supported.' properties: apiVersion: description: Version of the @@ -1709,6 +1782,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information about the @@ -1768,11 +1842,19 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field specify @@ -1819,6 +1901,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte mount on @@ -1887,6 +1970,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' @@ -1902,10 +1986,16 @@ spec: Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -1948,10 +2038,16 @@ spec: fail. properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -2045,6 +2141,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must be defined @@ -2076,10 +2173,16 @@ spec: not specified, default values will be attempted. properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -2246,6 +2349,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An existing VolumeSnapshot @@ -2424,11 +2528,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2466,7 +2572,7 @@ spec: this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. - More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' type: string @@ -2614,7 +2720,9 @@ spec: description: mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. - This field is beta in 1.10. + This field is beta in 1.10. When RecursiveReadOnly is + set to IfPossible or to Enabled, MountPropagation must + be None or unspecified (which defaults to None). type: string name: description: This must match the Name of a Volume. @@ -2623,6 +2731,23 @@ spec: description: Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only + mounts should be handled recursively. \n If ReadOnly + is false, this field has no meaning and must be unspecified. + \n If ReadOnly is true, and this field is set to Disabled, + the mount is not made recursively read-only. If this + field is set to IfPossible, the mount is made recursively + read-only, if it is supported by the container runtime. + \ If this field is set to Enabled, the mount is made + recursively read-only if it is supported by the container + runtime, otherwise the pod will not be started and an + error will be generated to indicate the reason. \n If + this field is set to IfPossible or Enabled, MountPropagation + must be set to None (or be unspecified, which defaults + to None). \n If this field is not specified, it is treated + as an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). @@ -2764,6 +2889,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than the full Ceph tree, default @@ -2786,10 +2912,16 @@ spec: User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -2823,10 +2955,16 @@ spec: connect to OpenStack.' properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -2900,11 +3038,17 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, - uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are almost + certainly wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether the ConfigMap @@ -2940,10 +3084,16 @@ spec: are passed. properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -2992,7 +3142,7 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, labels, - name and namespace are supported.' + name, namespace and uid are supported.' properties: apiVersion: description: Version of the schema the @@ -3060,6 +3210,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary directory @@ -3284,6 +3435,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An existing @@ -3474,11 +3626,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -3521,7 +3675,7 @@ spec: be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: - https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -3570,6 +3724,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination @@ -3578,6 +3733,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic volume @@ -3616,10 +3772,16 @@ spec: to the plugin scripts.' properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -3775,6 +3937,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. @@ -3784,10 +3947,16 @@ spec: iSCSI target and initiator authentication properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -3967,11 +4136,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -4074,11 +4245,19 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -4102,8 +4281,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace are - supported.' + labels, name, namespace and + uid are supported.' properties: apiVersion: description: Version of the @@ -4180,6 +4359,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information about the @@ -4239,11 +4419,19 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field specify @@ -4290,6 +4478,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte mount on @@ -4358,6 +4547,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' @@ -4373,10 +4563,16 @@ spec: Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -4419,10 +4615,16 @@ spec: fail. properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -4516,6 +4718,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must be defined @@ -4547,10 +4750,16 @@ spec: not specified, default values will be attempted. properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -4717,6 +4926,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An existing VolumeSnapshot @@ -4895,11 +5105,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -4937,7 +5149,7 @@ spec: this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. - More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' type: string diff --git a/vendor/kubestash.dev/apimachinery/crds/addons.kubestash.com_functions.yaml b/vendor/kubestash.dev/apimachinery/crds/addons.kubestash.com_functions.yaml index 858576053..2059686ae 100644 --- a/vendor/kubestash.dev/apimachinery/crds/addons.kubestash.com_functions.yaml +++ b/vendor/kubestash.dev/apimachinery/crds/addons.kubestash.com_functions.yaml @@ -159,9 +159,15 @@ spec: description: The key to select. type: string name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, - uid?' + default: "" + description: 'Name of the referent. This field is + effectively required, but due to backwards compatibility + is allowed to be empty. Instances of this type + with an empty value here are almost certainly + wrong. TODO: Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap or its @@ -224,9 +230,15 @@ spec: be a valid secret key. type: string name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, - uid?' + default: "" + description: 'Name of the referent. This field is + effectively required, but due to backwards compatibility + is allowed to be empty. Instances of this type + with an empty value here are almost certainly + wrong. TODO: Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret or its key @@ -257,8 +269,14 @@ spec: description: The ConfigMap to select from properties: name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, uid?' + default: "" + description: 'Name of the referent. This field is effectively + required, but due to backwards compatibility is allowed + to be empty. Instances of this type with an empty + value here are almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap must be defined @@ -273,8 +291,14 @@ spec: description: The Secret to select from properties: name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, uid?' + default: "" + description: 'Name of the referent. This field is effectively + required, but due to backwards compatibility is allowed + to be empty. Instances of this type with an empty + value here are almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret must be defined @@ -321,6 +345,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http request to perform. @@ -350,6 +375,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -429,6 +455,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http request to perform. @@ -458,6 +485,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -530,6 +558,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for the probe to @@ -582,6 +611,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -689,6 +719,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for the probe to @@ -741,6 +772,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -883,6 +915,29 @@ spec: 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor options to use + by this container. If set, this profile overrides the pod's + appArmorProfile. Note that this field cannot be set when + spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates a profile loaded + on the node that should be used. The profile must be + preconfigured on the node to work. Must match the loaded + name of the profile. Must be set if and only if type + is "Localhost". + type: string + type: + description: 'type indicates which kind of AppArmor profile + will be applied. Valid options are: Localhost - a profile + pre-loaded on the node. RuntimeDefault - the container + runtime''s default profile. Unconfined - no AppArmor + enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the @@ -896,6 +951,7 @@ spec: type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -903,6 +959,7 @@ spec: type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged mode. Processes in @@ -1074,7 +1131,9 @@ spec: description: mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta - in 1.10. + in 1.10. When RecursiveReadOnly is set to IfPossible or to + Enabled, MountPropagation must be None or unspecified (which + defaults to None). type: string name: description: This must match the Name of a Volume. @@ -1083,6 +1142,22 @@ spec: description: Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only + mounts should be handled recursively. \n If ReadOnly is false, + this field has no meaning and must be unspecified. \n If ReadOnly + is true, and this field is set to Disabled, the mount is not + made recursively read-only. If this field is set to IfPossible, + the mount is made recursively read-only, if it is supported + by the container runtime. If this field is set to Enabled, + the mount is made recursively read-only if it is supported + by the container runtime, otherwise the pod will not be started + and an error will be generated to indicate the reason. \n + If this field is set to IfPossible or Enabled, MountPropagation + must be set to None (or be unspecified, which defaults to + None). \n If this field is not specified, it is treated as + an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). diff --git a/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_backupbatches.yaml b/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_backupbatches.yaml index 9be7d63f1..4918fbb46 100644 --- a/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_backupbatches.yaml +++ b/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_backupbatches.yaml @@ -218,10 +218,20 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -295,10 +305,20 @@ spec: be a valid secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -334,10 +354,19 @@ spec: from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -354,10 +383,19 @@ spec: description: The Secret to select from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -415,6 +453,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the @@ -452,6 +491,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -553,6 +593,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the @@ -590,6 +631,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -678,6 +720,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -741,6 +784,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -868,6 +912,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -931,6 +976,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -1098,6 +1144,34 @@ spec: field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by this container. If + set, this profile overrides the pod's + appArmorProfile. Note that this field + cannot be set when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must + be preconfigured on the node to + work. Must match the loaded name + of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will be + applied. Valid options are: Localhost + - a profile pre-loaded on the node. + RuntimeDefault - the container runtime''s + default profile. Unconfined - no + AppArmor enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to @@ -1113,6 +1187,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -1120,6 +1195,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged @@ -1379,11 +1455,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements @@ -1433,11 +1511,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic weight: @@ -1452,6 +1532,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not @@ -1525,11 +1606,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements @@ -1579,14 +1662,17 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic type: array + x-kubernetes-list-type: atomic required: - nodeSelectorTerms type: object @@ -1687,11 +1773,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1719,7 +1807,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be @@ -1731,10 +1819,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot - be set when LabelSelector + in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -1752,7 +1840,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -1764,10 +1852,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -1843,11 +1931,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1881,6 +1971,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -1912,6 +2003,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not @@ -1991,11 +2083,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2021,7 +2115,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into @@ -2032,9 +2126,9 @@ spec: ignored. The default value is empty. The same key is forbidden to exist in both - MatchLabelKeys and LabelSelector. - Also, MatchLabelKeys cannot - be set when LabelSelector + matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -2051,7 +2145,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken @@ -2062,9 +2156,9 @@ spec: labels will be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -2132,11 +2226,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2168,6 +2264,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or @@ -2187,6 +2284,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object podAntiAffinity: description: Describes pod anti-affinity @@ -2283,11 +2381,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2315,7 +2415,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be @@ -2327,10 +2427,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot - be set when LabelSelector + in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -2348,7 +2448,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -2360,10 +2460,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -2439,11 +2539,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2477,6 +2579,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -2508,6 +2611,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the anti-affinity requirements specified by this field @@ -2587,11 +2691,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2617,7 +2723,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into @@ -2628,9 +2734,9 @@ spec: ignored. The default value is empty. The same key is forbidden to exist in both - MatchLabelKeys and LabelSelector. - Also, MatchLabelKeys cannot - be set when LabelSelector + matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -2647,7 +2753,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken @@ -2658,9 +2764,9 @@ spec: labels will be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -2728,11 +2834,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2764,6 +2872,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or @@ -2783,6 +2892,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object type: object automountServiceAccountToken: @@ -2813,10 +2923,17 @@ spec: referenced object inside the same namespace. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -2915,6 +3032,33 @@ spec: run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/' properties: + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by the containers in + this pod. Note that this field cannot + be set when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must + be preconfigured on the node to + work. Must match the loaded name + of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will be + applied. Valid options are: Localhost + - a profile pre-loaded on the node. + RuntimeDefault - the container runtime''s + default profile. Unconfined - no + AppArmor enforcement.' + type: string + required: + - type + type: object fsGroup: description: "A special supplemental group that applies to all containers in a @@ -3059,6 +3203,7 @@ spec: format: int64 type: integer type: array + x-kubernetes-list-type: atomic sysctls: description: Sysctls hold a list of namespaced sysctls used for the pod. Pods with @@ -3083,6 +3228,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic windowsOptions: description: The Windows specific settings applied to all containers. If unspecified, @@ -3249,11 +3395,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -3355,10 +3503,7 @@ spec: cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, - it will violate MaxSkew. \n This is - a beta field and requires the MinDomainsInPodTopologySpread - feature gate to be enabled (enabled - by default)." + it will violate MaxSkew." format: int32 type: integer nodeAffinityPolicy: @@ -3495,10 +3640,17 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -3566,10 +3718,17 @@ spec: key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret @@ -3601,7 +3760,10 @@ spec: description: mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone - is used. This field is beta in 1.10. + is used. This field is beta in 1.10. When + RecursiveReadOnly is set to IfPossible or + to Enabled, MountPropagation must be None + or unspecified (which defaults to None). type: string name: description: This must match the Name of a Volume. @@ -3611,6 +3773,27 @@ spec: otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether + read-only mounts should be handled recursively. + \n If ReadOnly is false, this field has no + meaning and must be unspecified. \n If ReadOnly + is true, and this field is set to Disabled, + the mount is not made recursively read-only. + \ If this field is set to IfPossible, the + mount is made recursively read-only, if it + is supported by the container runtime. If + this field is set to Enabled, the mount is + made recursively read-only if it is supported + by the container runtime, otherwise the pod + will not be started and an error will be generated + to indicate the reason. \n If this field is + set to IfPossible or Enabled, MountPropagation + must be set to None (or be unspecified, which + defaults to None). \n If this field is not + specified, it is treated as an equivalent + of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should be mounted. @@ -3754,6 +3937,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than the full @@ -3777,10 +3961,17 @@ spec: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -3817,10 +4008,17 @@ spec: used to connect to OpenStack.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -3900,11 +4098,18 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: - description: 'Name of the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type with + an empty value here are almost certainly + wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether the @@ -3942,10 +4147,17 @@ spec: are passed. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -3998,7 +4210,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace are supported.' + labels, name, namespace and uid + are supported.' properties: apiVersion: description: Version of the schema @@ -4072,6 +4285,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary @@ -4322,6 +4536,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An @@ -4533,11 +4748,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -4583,7 +4800,7 @@ spec: will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -4635,6 +4852,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either @@ -4643,6 +4861,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic @@ -4681,10 +4900,17 @@ spec: are passed to the plugin scripts.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -4853,6 +5079,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. Defaults @@ -4863,10 +5090,17 @@ spec: for iSCSI target and initiator authentication properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -5073,11 +5307,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -5191,11 +5427,21 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify @@ -5221,8 +5467,8 @@ spec: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace - are supported.' + labels, name, namespace + and uid are supported.' properties: apiVersion: description: Version @@ -5311,6 +5557,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information about @@ -5377,11 +5624,21 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field specify @@ -5433,6 +5690,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte mount @@ -5504,6 +5762,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' @@ -5519,10 +5778,17 @@ spec: keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -5566,10 +5832,17 @@ spec: Login operation will fail. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -5672,6 +5945,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must be defined @@ -5706,10 +5980,17 @@ spec: values will be attempted. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -5871,10 +6152,20 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -5948,10 +6239,20 @@ spec: be a valid secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -5987,10 +6288,19 @@ spec: from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -6007,10 +6317,19 @@ spec: description: The Secret to select from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -6068,6 +6387,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the @@ -6105,6 +6425,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -6206,6 +6527,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the @@ -6243,6 +6565,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -6331,6 +6654,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -6394,6 +6718,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -6521,6 +6846,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -6584,6 +6910,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -6751,6 +7078,34 @@ spec: field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by this container. If + set, this profile overrides the pod's + appArmorProfile. Note that this field + cannot be set when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must + be preconfigured on the node to + work. Must match the loaded name + of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will be + applied. Valid options are: Localhost + - a profile pre-loaded on the node. + RuntimeDefault - the container runtime''s + default profile. Unconfined - no + AppArmor enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to @@ -6766,6 +7121,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -6773,6 +7129,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged @@ -7032,11 +7389,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements @@ -7086,11 +7445,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic weight: @@ -7105,6 +7466,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not @@ -7178,11 +7540,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements @@ -7232,14 +7596,17 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic type: array + x-kubernetes-list-type: atomic required: - nodeSelectorTerms type: object @@ -7340,11 +7707,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -7372,7 +7741,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be @@ -7384,10 +7753,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot - be set when LabelSelector + in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -7405,7 +7774,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -7417,10 +7786,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -7496,11 +7865,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -7534,6 +7905,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -7565,6 +7937,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not @@ -7644,11 +8017,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -7674,7 +8049,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into @@ -7685,9 +8060,9 @@ spec: ignored. The default value is empty. The same key is forbidden to exist in both - MatchLabelKeys and LabelSelector. - Also, MatchLabelKeys cannot - be set when LabelSelector + matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -7704,7 +8079,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken @@ -7715,9 +8090,9 @@ spec: labels will be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -7785,11 +8160,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -7821,6 +8198,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or @@ -7840,6 +8218,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object podAntiAffinity: description: Describes pod anti-affinity @@ -7936,11 +8315,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -7968,7 +8349,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be @@ -7980,10 +8361,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot - be set when LabelSelector + in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -8001,7 +8382,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -8013,10 +8394,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -8092,11 +8473,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -8130,6 +8513,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -8161,6 +8545,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the anti-affinity requirements specified by this field @@ -8240,11 +8625,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -8270,7 +8657,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into @@ -8281,9 +8668,9 @@ spec: ignored. The default value is empty. The same key is forbidden to exist in both - MatchLabelKeys and LabelSelector. - Also, MatchLabelKeys cannot - be set when LabelSelector + matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -8300,7 +8687,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken @@ -8311,9 +8698,9 @@ spec: labels will be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -8381,11 +8768,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -8417,6 +8806,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or @@ -8436,6 +8826,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object type: object automountServiceAccountToken: @@ -8466,10 +8857,17 @@ spec: referenced object inside the same namespace. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -8568,6 +8966,33 @@ spec: run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/' properties: + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by the containers in + this pod. Note that this field cannot + be set when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must + be preconfigured on the node to + work. Must match the loaded name + of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will be + applied. Valid options are: Localhost + - a profile pre-loaded on the node. + RuntimeDefault - the container runtime''s + default profile. Unconfined - no + AppArmor enforcement.' + type: string + required: + - type + type: object fsGroup: description: "A special supplemental group that applies to all containers in a @@ -8712,6 +9137,7 @@ spec: format: int64 type: integer type: array + x-kubernetes-list-type: atomic sysctls: description: Sysctls hold a list of namespaced sysctls used for the pod. Pods with @@ -8736,6 +9162,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic windowsOptions: description: The Windows specific settings applied to all containers. If unspecified, @@ -8902,11 +9329,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -9008,10 +9437,7 @@ spec: cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, - it will violate MaxSkew. \n This is - a beta field and requires the MinDomainsInPodTopologySpread - feature gate to be enabled (enabled - by default)." + it will violate MaxSkew." format: int32 type: integer nodeAffinityPolicy: @@ -9148,10 +9574,17 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -9219,10 +9652,17 @@ spec: key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret @@ -9254,7 +9694,10 @@ spec: description: mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone - is used. This field is beta in 1.10. + is used. This field is beta in 1.10. When + RecursiveReadOnly is set to IfPossible or + to Enabled, MountPropagation must be None + or unspecified (which defaults to None). type: string name: description: This must match the Name of a Volume. @@ -9264,6 +9707,27 @@ spec: otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether + read-only mounts should be handled recursively. + \n If ReadOnly is false, this field has no + meaning and must be unspecified. \n If ReadOnly + is true, and this field is set to Disabled, + the mount is not made recursively read-only. + \ If this field is set to IfPossible, the + mount is made recursively read-only, if it + is supported by the container runtime. If + this field is set to Enabled, the mount is + made recursively read-only if it is supported + by the container runtime, otherwise the pod + will not be started and an error will be generated + to indicate the reason. \n If this field is + set to IfPossible or Enabled, MountPropagation + must be set to None (or be unspecified, which + defaults to None). \n If this field is not + specified, it is treated as an equivalent + of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should be mounted. @@ -9407,6 +9871,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than the full @@ -9430,10 +9895,17 @@ spec: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -9470,10 +9942,17 @@ spec: used to connect to OpenStack.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -9553,11 +10032,18 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: - description: 'Name of the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type with + an empty value here are almost certainly + wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether the @@ -9595,10 +10081,17 @@ spec: are passed. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -9651,7 +10144,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace are supported.' + labels, name, namespace and uid + are supported.' properties: apiVersion: description: Version of the schema @@ -9725,6 +10219,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary @@ -9975,6 +10470,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An @@ -10186,11 +10682,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -10236,7 +10734,7 @@ spec: will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -10288,6 +10786,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either @@ -10296,6 +10795,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic @@ -10334,10 +10834,17 @@ spec: are passed to the plugin scripts.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -10506,6 +11013,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. Defaults @@ -10516,10 +11024,17 @@ spec: for iSCSI target and initiator authentication properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -10726,11 +11241,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -10844,11 +11361,21 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify @@ -10874,8 +11401,8 @@ spec: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace - are supported.' + labels, name, namespace + and uid are supported.' properties: apiVersion: description: Version @@ -10964,6 +11491,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information about @@ -11030,11 +11558,21 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field specify @@ -11086,6 +11624,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte mount @@ -11157,6 +11696,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' @@ -11172,10 +11712,17 @@ spec: keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -11219,10 +11766,17 @@ spec: Login operation will fail. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -11325,6 +11879,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must be defined @@ -11359,10 +11914,17 @@ spec: values will be attempted. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -11671,11 +12233,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements by @@ -11723,11 +12287,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic weight: @@ -11742,6 +12308,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not met @@ -11813,11 +12380,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements by @@ -11865,14 +12434,17 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic type: array + x-kubernetes-list-type: atomic required: - nodeSelectorTerms type: object @@ -11967,11 +12539,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -11998,7 +12572,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken @@ -12009,10 +12583,10 @@ spec: labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot be - set when LabelSelector isn't + to exist in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot be + set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -12028,7 +12602,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -12039,10 +12613,10 @@ spec: pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -12113,11 +12687,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -12150,6 +12726,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -12180,6 +12757,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not met @@ -12259,11 +12837,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -12287,7 +12867,7 @@ spec: consideration. The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration @@ -12296,9 +12876,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector + to exist in both matchLabelKeys + and labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -12315,7 +12895,7 @@ spec: are used to lookup values from the incoming pod labels, those key-value labels are merged - with `LabelSelector` as `key + with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration @@ -12324,9 +12904,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -12393,11 +12973,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -12428,6 +13010,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not @@ -12446,6 +13029,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object podAntiAffinity: description: Describes pod anti-affinity @@ -12537,11 +13121,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -12568,7 +13154,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken @@ -12579,10 +13165,10 @@ spec: labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot be - set when LabelSelector isn't + to exist in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot be + set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -12598,7 +13184,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -12609,10 +13195,10 @@ spec: pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -12683,11 +13269,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -12720,6 +13308,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -12750,6 +13339,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the anti-affinity requirements specified by this field are not met @@ -12829,11 +13419,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -12857,7 +13449,7 @@ spec: consideration. The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration @@ -12866,9 +13458,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector + to exist in both matchLabelKeys + and labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -12885,7 +13477,7 @@ spec: are used to lookup values from the incoming pod labels, those key-value labels are merged - with `LabelSelector` as `key + with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration @@ -12894,9 +13486,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -12963,11 +13555,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -12998,6 +13592,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not @@ -13016,6 +13611,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object type: object args: @@ -13049,6 +13645,34 @@ spec: Note that this field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by this container. If set, + this profile overrides the pod's appArmorProfile. + Note that this field cannot be set when + spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must be + preconfigured on the node to work. + Must match the loaded name of the + profile. Must be set if and only if + type is "Localhost". + type: string + type: + description: 'type indicates which kind + of AppArmor profile will be applied. + Valid options are: Localhost - a profile + pre-loaded on the node. RuntimeDefault + - the container runtime''s default + profile. Unconfined - no AppArmor + enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to the @@ -13064,6 +13688,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -13071,6 +13696,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged @@ -13250,6 +13876,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic options: description: A list of DNS resolver options. This will be merged with the base options @@ -13268,6 +13895,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic searches: description: A list of DNS search domains for host-name lookup. This will be appended @@ -13277,6 +13905,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object dnsPolicy: description: Set DNS policy for the pod. Defaults @@ -13332,10 +13961,19 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -13407,10 +14045,19 @@ spec: secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -13453,10 +14100,17 @@ spec: referenced object inside the same namespace. properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -13502,6 +14156,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic command: description: 'Entrypoint array. Not executed within a shell. The container image''s @@ -13521,6 +14176,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic env: description: List of environment variables to set in the container. Cannot be updated. @@ -13564,11 +14220,21 @@ spec: select. type: string name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, + but due to backwards compatibility + is allowed to be empty. + Instances of this type + with an empty value here + are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -13645,11 +14311,21 @@ spec: be a valid secret key. type: string name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, + but due to backwards compatibility + is allowed to be empty. + Instances of this type + with an empty value here + are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -13665,6 +14341,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map envFrom: description: List of sources to populate environment variables in the container. @@ -13686,10 +14365,20 @@ spec: from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -13707,10 +14396,20 @@ spec: from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -13720,6 +14419,7 @@ spec: x-kubernetes-map-type: atomic type: object type: array + x-kubernetes-list-type: atomic image: description: 'Container image name. More info: https://kubernetes.io/docs/concepts/containers/images @@ -13773,6 +14473,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies @@ -13811,6 +14512,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -13917,6 +14619,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies @@ -13955,6 +14658,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -14046,6 +14750,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -14112,6 +14817,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -14301,6 +15007,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -14367,6 +15074,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -14597,6 +15305,37 @@ spec: cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the + AppArmor options to use by this + container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set + when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile + indicates a profile loaded on + the node that should be used. + The profile must be preconfigured + on the node to work. Must match + the loaded name of the profile. + Must be set if and only if type + is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will + be applied. Valid options are: + Localhost - a profile pre-loaded + on the node. RuntimeDefault + - the container runtime''s default + profile. Unconfined - no AppArmor + enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults @@ -14612,6 +15351,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -14619,6 +15359,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged @@ -14841,6 +15582,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -14907,6 +15649,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -15084,6 +15827,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map volumeMounts: description: Pod volumes to mount into the container's filesystem. Cannot be @@ -15103,7 +15849,11 @@ spec: the host to container and the other way around. When not set, MountPropagationNone is used. - This field is beta in 1.10. + This field is beta in 1.10. When + RecursiveReadOnly is set to IfPossible + or to Enabled, MountPropagation + must be None or unspecified (which + defaults to None). type: string name: description: This must match the @@ -15114,6 +15864,35 @@ spec: true, read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly + specifies whether read-only mounts + should be handled recursively. + \n If ReadOnly is false, this + field has no meaning and must + be unspecified. \n If ReadOnly + is true, and this field is set + to Disabled, the mount is not + made recursively read-only. If + this field is set to IfPossible, + the mount is made recursively + read-only, if it is supported + by the container runtime. If + this field is set to Enabled, + the mount is made recursively + read-only if it is supported by + the container runtime, otherwise + the pod will not be started and + an error will be generated to + indicate the reason. \n If this + field is set to IfPossible or + Enabled, MountPropagation must + be set to None (or be unspecified, + which defaults to None). \n If + this field is not specified, it + is treated as an equivalent of + Disabled." + type: string subPath: description: Path within the volume from which the container's volume @@ -15136,6 +15915,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map workingDir: description: Container's working directory. If not specified, the container runtime's @@ -15181,6 +15963,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http @@ -15217,6 +16000,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -15315,6 +16099,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http @@ -15351,6 +16136,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -15438,6 +16224,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -15501,6 +16288,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -15600,6 +16388,24 @@ spec: More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/' type: object x-kubernetes-map-type: atomic + podPlacementPolicy: + description: PodPlacementPolicy is the reference + of the podPlacementPolicy + properties: + name: + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type with + an empty value here are almost certainly + wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' + type: string + type: object + x-kubernetes-map-type: atomic priority: description: The priority value. Various system components use this field to find the priority @@ -15648,6 +16454,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -15711,6 +16518,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -15878,6 +16686,33 @@ spec: Optional: Defaults to empty. See type description for default values of each field.' properties: + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by the containers in this + pod. Note that this field cannot be set + when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must be + preconfigured on the node to work. + Must match the loaded name of the + profile. Must be set if and only if + type is "Localhost". + type: string + type: + description: 'type indicates which kind + of AppArmor profile will be applied. + Valid options are: Localhost - a profile + pre-loaded on the node. RuntimeDefault + - the container runtime''s default + profile. Unconfined - no AppArmor + enforcement.' + type: string + required: + - type + type: object fsGroup: description: "A special supplemental group that applies to all containers in a pod. @@ -16022,6 +16857,7 @@ spec: format: int64 type: integer type: array + x-kubernetes-list-type: atomic sysctls: description: Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported @@ -16045,6 +16881,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic windowsOptions: description: The Windows specific settings applied to all containers. If unspecified, @@ -16226,11 +17063,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -16328,10 +17167,7 @@ spec: same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of - the three zones, it will violate MaxSkew. - \n This is a beta field and requires - the MinDomainsInPodTopologySpread feature - gate to be enabled (enabled by default)." + the three zones, it will violate MaxSkew." format: int32 type: integer nodeAffinityPolicy: @@ -16435,7 +17271,11 @@ spec: how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is - used. This field is beta in 1.10. + used. This field is beta in 1.10. When + RecursiveReadOnly is set to IfPossible + or to Enabled, MountPropagation must + be None or unspecified (which defaults + to None). type: string name: description: This must match the Name @@ -16446,6 +17286,29 @@ spec: read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies + whether read-only mounts should be handled + recursively. \n If ReadOnly is false, + this field has no meaning and must be + unspecified. \n If ReadOnly is true, + and this field is set to Disabled, the + mount is not made recursively read-only. + \ If this field is set to IfPossible, + the mount is made recursively read-only, + if it is supported by the container + runtime. If this field is set to Enabled, + the mount is made recursively read-only + if it is supported by the container + runtime, otherwise the pod will not + be started and an error will be generated + to indicate the reason. \n If this field + is set to IfPossible or Enabled, MountPropagation + must be set to None (or be unspecified, + which defaults to None). \n If this + field is not specified, it is treated + as an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should @@ -16601,6 +17464,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than @@ -16626,10 +17490,19 @@ spec: More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -16667,10 +17540,19 @@ spec: parameters used to connect to OpenStack.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -16758,11 +17640,20 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -16805,10 +17696,19 @@ spec: are passed. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -16864,8 +17764,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace - are supported.' + labels, name, namespace and + uid are supported.' properties: apiVersion: description: Version of @@ -16945,6 +17845,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary @@ -17233,6 +18134,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: @@ -17478,11 +18380,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -17537,7 +18441,7 @@ spec: state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -17593,6 +18497,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either @@ -17602,6 +18507,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic @@ -17645,10 +18551,19 @@ spec: scripts.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -17830,6 +18745,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. @@ -17841,10 +18757,19 @@ spec: authentication properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -18072,11 +18997,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -18211,12 +19138,23 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, + but due to backwards compatibility + is allowed to be empty. + Instances of this type + with an empty value here + are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify @@ -18245,8 +19183,8 @@ spec: Selects a field of the pod: only annotations, labels, - name and namespace - are supported.' + name, namespace + and uid are supported.' properties: apiVersion: description: Version @@ -18347,6 +19285,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information @@ -18426,12 +19365,23 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, + but due to backwards compatibility + is allowed to be empty. + Instances of this type + with an empty value here + are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field @@ -18489,6 +19439,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte @@ -18567,6 +19518,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: @@ -18584,10 +19536,19 @@ spec: is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -18635,10 +19596,19 @@ spec: will fail. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -18751,6 +19721,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must @@ -18789,10 +19760,19 @@ spec: attempted. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -18951,10 +19931,19 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -19024,10 +20013,19 @@ spec: secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -19060,10 +20058,17 @@ spec: description: The ConfigMap to select from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -19080,10 +20085,17 @@ spec: description: The Secret to select from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret @@ -19137,6 +20149,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http @@ -19173,6 +20186,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -19268,6 +20282,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http @@ -19304,6 +20319,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -19388,6 +20404,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -19446,6 +20463,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -19569,6 +20587,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -19627,6 +20646,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -19788,6 +20808,32 @@ spec: that this field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by this container. If set, + this profile overrides the pod's appArmorProfile. + Note that this field cannot be set when + spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that should + be used. The profile must be preconfigured + on the node to work. Must match the + loaded name of the profile. Must be + set if and only if type is "Localhost". + type: string + type: + description: 'type indicates which kind + of AppArmor profile will be applied. + Valid options are: Localhost - a profile + pre-loaded on the node. RuntimeDefault + - the container runtime''s default profile. + Unconfined - no AppArmor enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to the @@ -19802,6 +20848,7 @@ spec: capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -19809,6 +20856,7 @@ spec: capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged mode. @@ -20116,11 +21164,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements @@ -20170,11 +21220,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic weight: @@ -20189,6 +21241,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not @@ -20262,11 +21315,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements @@ -20316,14 +21371,17 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic type: array + x-kubernetes-list-type: atomic required: - nodeSelectorTerms type: object @@ -20424,11 +21482,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -20456,7 +21516,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be @@ -20468,10 +21528,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot - be set when LabelSelector + in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -20489,7 +21549,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -20501,10 +21561,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -20580,11 +21640,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -20618,6 +21680,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -20649,6 +21712,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not @@ -20728,11 +21792,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -20758,7 +21824,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into @@ -20769,9 +21835,9 @@ spec: ignored. The default value is empty. The same key is forbidden to exist in both - MatchLabelKeys and LabelSelector. - Also, MatchLabelKeys cannot - be set when LabelSelector + matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -20788,7 +21854,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken @@ -20799,9 +21865,9 @@ spec: labels will be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -20869,11 +21935,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -20905,6 +21973,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or @@ -20924,6 +21993,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object podAntiAffinity: description: Describes pod anti-affinity @@ -21020,11 +22090,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -21052,7 +22124,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be @@ -21064,10 +22136,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot - be set when LabelSelector + in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -21085,7 +22157,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -21097,10 +22169,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -21176,11 +22248,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -21214,6 +22288,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -21245,6 +22320,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the anti-affinity requirements specified by this field @@ -21324,11 +22400,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -21354,7 +22432,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into @@ -21365,9 +22443,9 @@ spec: ignored. The default value is empty. The same key is forbidden to exist in both - MatchLabelKeys and LabelSelector. - Also, MatchLabelKeys cannot - be set when LabelSelector + matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -21384,7 +22462,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken @@ -21395,9 +22473,9 @@ spec: labels will be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -21465,11 +22543,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -21501,6 +22581,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or @@ -21520,6 +22601,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object type: object args: @@ -21554,6 +22636,34 @@ spec: field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by this container. If + set, this profile overrides the pod's + appArmorProfile. Note that this field + cannot be set when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must + be preconfigured on the node to + work. Must match the loaded name + of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will be + applied. Valid options are: Localhost + - a profile pre-loaded on the node. + RuntimeDefault - the container runtime''s + default profile. Unconfined - no + AppArmor enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to @@ -21569,6 +22679,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -21576,6 +22687,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged @@ -21758,6 +22870,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic options: description: A list of DNS resolver options. This will be merged with the base options @@ -21776,6 +22889,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic searches: description: A list of DNS search domains for host-name lookup. This will be appended @@ -21785,6 +22899,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object dnsPolicy: description: Set DNS policy for the pod. Defaults @@ -21843,10 +22958,20 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -21920,10 +23045,20 @@ spec: be a valid secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -21967,10 +23102,17 @@ spec: referenced object inside the same namespace. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -22018,6 +23160,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic command: description: 'Entrypoint array. Not executed within a shell. The container @@ -22038,6 +23181,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic env: description: List of environment variables to set in the container. Cannot be @@ -22083,12 +23227,23 @@ spec: select. type: string name: + default: "" description: 'Name of - the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + the referent. This field + is effectively required, + but due to backwards + compatibility is allowed + to be empty. Instances + of this type with an + empty value here are + almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -22167,12 +23322,23 @@ spec: secret key. type: string name: + default: "" description: 'Name of - the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + the referent. This field + is effectively required, + but due to backwards + compatibility is allowed + to be empty. Instances + of this type with an + empty value here are + almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -22188,6 +23354,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map envFrom: description: List of sources to populate environment variables in the container. @@ -22209,10 +23378,21 @@ spec: select from properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -22230,10 +23410,21 @@ spec: from properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -22243,6 +23434,7 @@ spec: x-kubernetes-map-type: atomic type: object type: array + x-kubernetes-list-type: atomic image: description: 'Container image name. More info: https://kubernetes.io/docs/concepts/containers/images @@ -22298,6 +23490,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies @@ -22337,6 +23530,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -22450,6 +23644,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies @@ -22489,6 +23684,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -22586,6 +23782,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive @@ -22653,6 +23850,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -22850,6 +24048,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive @@ -22917,6 +24116,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -23159,6 +24359,38 @@ spec: Note that this field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is + the AppArmor options to use by + this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be + set when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile + indicates a profile loaded + on the node that should be + used. The profile must be + preconfigured on the node + to work. Must match the loaded + name of the profile. Must + be set if and only if type + is "Localhost". + type: string + type: + description: 'type indicates + which kind of AppArmor profile + will be applied. Valid options + are: Localhost - a profile + pre-loaded on the node. RuntimeDefault + - the container runtime''s + default profile. Unconfined + - no AppArmor enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. @@ -23175,6 +24407,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -23182,6 +24415,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged @@ -23415,6 +24649,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive @@ -23482,6 +24717,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -23669,6 +24905,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map volumeMounts: description: Pod volumes to mount into the container's filesystem. Cannot @@ -23690,7 +24929,11 @@ spec: the other way around. When not set, MountPropagationNone is used. This field is beta in - 1.10. + 1.10. When RecursiveReadOnly + is set to IfPossible or to Enabled, + MountPropagation must be None + or unspecified (which defaults + to None). type: string name: description: This must match the @@ -23702,6 +24945,35 @@ spec: (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly + specifies whether read-only + mounts should be handled recursively. + \n If ReadOnly is false, this + field has no meaning and must + be unspecified. \n If ReadOnly + is true, and this field is set + to Disabled, the mount is not + made recursively read-only. + \ If this field is set to IfPossible, + the mount is made recursively + read-only, if it is supported + by the container runtime. If + this field is set to Enabled, + the mount is made recursively + read-only if it is supported + by the container runtime, otherwise + the pod will not be started + and an error will be generated + to indicate the reason. \n If + this field is set to IfPossible + or Enabled, MountPropagation + must be set to None (or be unspecified, + which defaults to None). \n + If this field is not specified, + it is treated as an equivalent + of Disabled." + type: string subPath: description: Path within the volume from which the container's volume @@ -23724,6 +24996,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map workingDir: description: Container's working directory. If not specified, the container runtime's @@ -23770,6 +25045,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the @@ -23807,6 +25083,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -23908,6 +25185,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the @@ -23945,6 +25223,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -24036,6 +25315,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -24099,6 +25379,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -24201,6 +25482,25 @@ spec: More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/' type: object x-kubernetes-map-type: atomic + podPlacementPolicy: + description: PodPlacementPolicy is the reference + of the podPlacementPolicy + properties: + name: + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' + type: string + type: object + x-kubernetes-map-type: atomic priority: description: The priority value. Various system components use this field to find the priority @@ -24251,6 +25551,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -24314,6 +25615,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -24487,6 +25789,33 @@ spec: type description for default values of each field.' properties: + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by the containers in + this pod. Note that this field cannot + be set when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must + be preconfigured on the node to + work. Must match the loaded name + of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will be + applied. Valid options are: Localhost + - a profile pre-loaded on the node. + RuntimeDefault - the container runtime''s + default profile. Unconfined - no + AppArmor enforcement.' + type: string + required: + - type + type: object fsGroup: description: "A special supplemental group that applies to all containers in a @@ -24631,6 +25960,7 @@ spec: format: int64 type: integer type: array + x-kubernetes-list-type: atomic sysctls: description: Sysctls hold a list of namespaced sysctls used for the pod. Pods with @@ -24655,6 +25985,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic windowsOptions: description: The Windows specific settings applied to all containers. If unspecified, @@ -24842,11 +26173,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -24948,10 +26281,7 @@ spec: cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, - it will violate MaxSkew. \n This is - a beta field and requires the MinDomainsInPodTopologySpread - feature gate to be enabled (enabled - by default)." + it will violate MaxSkew." format: int32 type: integer nodeAffinityPolicy: @@ -25059,6 +26389,10 @@ spec: host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible + or to Enabled, MountPropagation must + be None or unspecified (which defaults + to None). type: string name: description: This must match the Name @@ -25069,6 +26403,30 @@ spec: read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies + whether read-only mounts should be + handled recursively. \n If ReadOnly + is false, this field has no meaning + and must be unspecified. \n If ReadOnly + is true, and this field is set to + Disabled, the mount is not made recursively + read-only. If this field is set to + IfPossible, the mount is made recursively + read-only, if it is supported by the + container runtime. If this field + is set to Enabled, the mount is made + recursively read-only if it is supported + by the container runtime, otherwise + the pod will not be started and an + error will be generated to indicate + the reason. \n If this field is set + to IfPossible or Enabled, MountPropagation + must be set to None (or be unspecified, + which defaults to None). \n If this + field is not specified, it is treated + as an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume @@ -25225,6 +26583,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather @@ -25251,10 +26610,20 @@ spec: default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -25293,10 +26662,20 @@ spec: OpenStack.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -25388,11 +26767,21 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -25436,10 +26825,20 @@ spec: references are passed. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -25498,8 +26897,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only - annotations, labels, name - and namespace are supported.' + annotations, labels, name, + namespace and uid are supported.' properties: apiVersion: description: Version of @@ -25581,6 +26980,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a @@ -25883,6 +27283,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify @@ -26149,11 +27550,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -26212,7 +27615,7 @@ spec: the modifyVolumeStatus field, until such as a resource exists. More - info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -26269,6 +27672,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers @@ -26278,6 +27682,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a @@ -26322,10 +27727,20 @@ spec: are passed to the plugin scripts.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -26511,6 +27926,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in @@ -26522,10 +27938,20 @@ spec: authentication properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -26765,11 +28191,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -26915,13 +28343,25 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of - the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + the referent. This field + is effectively required, + but due to backwards + compatibility is allowed + to be empty. Instances + of this type with an + empty value here are + almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional @@ -26952,8 +28392,8 @@ spec: Selects a field of the pod: only annotations, labels, - name and namespace - are supported.' + name, namespace + and uid are supported.' properties: apiVersion: description: Version @@ -27064,6 +28504,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information @@ -27151,13 +28592,25 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of - the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + the referent. This field + is effectively required, + but due to backwards + compatibility is allowed + to be empty. Instances + of this type with an + empty value here are + almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional @@ -27218,6 +28671,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte @@ -27299,6 +28753,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More @@ -27318,10 +28773,20 @@ spec: info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -27369,10 +28834,20 @@ spec: operation will fail. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -27488,6 +28963,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys @@ -27526,10 +29002,20 @@ spec: will be attempted. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -27752,6 +29238,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather @@ -27779,10 +29266,21 @@ spec: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -27824,10 +29322,21 @@ spec: OpenStack.' properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -27925,11 +29434,21 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify @@ -27973,10 +29492,21 @@ spec: references are passed. properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -28037,8 +29567,8 @@ spec: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace - are supported.' + labels, name, namespace + and uid are supported.' properties: apiVersion: description: Version @@ -28127,6 +29657,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents @@ -28446,6 +29977,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to @@ -28728,11 +30260,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -28795,7 +30329,7 @@ spec: by the modifyVolumeStatus field, until such as a resource exists. More - info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -28853,6 +30387,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers @@ -28862,6 +30397,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents @@ -28907,10 +30443,21 @@ spec: are passed to the plugin scripts.' properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -29104,6 +30651,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in @@ -29115,10 +30663,21 @@ spec: and initiator authentication properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -29363,11 +30922,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -29524,13 +31085,25 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of - the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful - fields. apiVersion, - kind, uid?' + the referent. This + field is effectively + required, but due + to backwards compatibility + is allowed to be empty. + Instances of this + type with an empty + value here are almost + certainly wrong. TODO: + Add other useful fields. + apiVersion, kind, + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional @@ -29561,9 +31134,9 @@ spec: Selects a field of the pod: only annotations, - labels, name - and namespace - are supported.' + labels, name, + namespace and + uid are supported.' properties: apiVersion: description: Version @@ -29680,6 +31253,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information @@ -29774,13 +31348,25 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of - the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful - fields. apiVersion, - kind, uid?' + the referent. This + field is effectively + required, but due + to backwards compatibility + is allowed to be empty. + Instances of this + type with an empty + value here are almost + certainly wrong. TODO: + Add other useful fields. + apiVersion, kind, + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional @@ -29843,6 +31429,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a @@ -29925,6 +31512,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More @@ -29944,10 +31532,21 @@ spec: info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -29995,10 +31594,21 @@ spec: operation will fail. properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -30121,6 +31731,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys @@ -30160,10 +31771,21 @@ spec: will be attempted. properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -30388,6 +32010,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: @@ -30633,11 +32256,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -30692,7 +32317,7 @@ spec: state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -30954,6 +32579,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: @@ -31177,11 +32803,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -31231,7 +32859,7 @@ spec: will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -31263,6 +32891,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic allocatedResourceStatuses: additionalProperties: description: When a controller @@ -31405,7 +33034,7 @@ spec: volume claim. If underlying persistent volume is being resized then the Condition will be set - to 'ResizeStarted'. + to 'Resizing'. items: description: PersistentVolumeClaimCondition contains details about state @@ -31437,10 +33066,9 @@ spec: string that gives the reason for condition's last transition. If it - reports "ResizeStarted" - that means the underlying - persistent volume is being - resized. + reports "Resizing" that + means the underlying persistent + volume is being resized. type: string status: type: string @@ -31453,6 +33081,9 @@ spec: - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map currentVolumeAttributesClassName: description: currentVolumeAttributesClassName is the current name of the VolumeAttributesClass @@ -31532,6 +33163,10 @@ spec: host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. + When RecursiveReadOnly is set to + IfPossible or to Enabled, MountPropagation + must be None or unspecified (which + defaults to None). type: string name: description: This must match the Name @@ -31542,6 +33177,31 @@ spec: true, read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies + whether read-only mounts should + be handled recursively. \n If ReadOnly + is false, this field has no meaning + and must be unspecified. \n If ReadOnly + is true, and this field is set to + Disabled, the mount is not made + recursively read-only. If this + field is set to IfPossible, the + mount is made recursively read-only, + if it is supported by the container + runtime. If this field is set to + Enabled, the mount is made recursively + read-only if it is supported by + the container runtime, otherwise + the pod will not be started and + an error will be generated to indicate + the reason. \n If this field is + set to IfPossible or Enabled, MountPropagation + must be set to None (or be unspecified, + which defaults to None). \n If this + field is not specified, it is treated + as an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume @@ -31703,6 +33363,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather @@ -31730,10 +33391,21 @@ spec: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -31775,10 +33447,21 @@ spec: OpenStack.' properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -31876,11 +33559,21 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify @@ -31924,10 +33617,21 @@ spec: references are passed. properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -31988,8 +33692,8 @@ spec: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace - are supported.' + labels, name, namespace + and uid are supported.' properties: apiVersion: description: Version @@ -32078,6 +33782,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents @@ -32397,6 +34102,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to @@ -32679,11 +34385,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -32746,7 +34454,7 @@ spec: by the modifyVolumeStatus field, until such as a resource exists. More - info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -32804,6 +34512,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers @@ -32813,6 +34522,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents @@ -32858,10 +34568,21 @@ spec: are passed to the plugin scripts.' properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -33055,6 +34776,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in @@ -33066,10 +34788,21 @@ spec: and initiator authentication properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -33319,11 +35052,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -33480,13 +35215,25 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of - the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful - fields. apiVersion, - kind, uid?' + the referent. This + field is effectively + required, but due + to backwards compatibility + is allowed to be empty. + Instances of this + type with an empty + value here are almost + certainly wrong. TODO: + Add other useful fields. + apiVersion, kind, + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional @@ -33517,9 +35264,9 @@ spec: Selects a field of the pod: only annotations, - labels, name - and namespace - are supported.' + labels, name, + namespace and + uid are supported.' properties: apiVersion: description: Version @@ -33636,6 +35383,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information @@ -33730,13 +35478,25 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of - the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful - fields. apiVersion, - kind, uid?' + the referent. This + field is effectively + required, but due + to backwards compatibility + is allowed to be empty. + Instances of this + type with an empty + value here are almost + certainly wrong. TODO: + Add other useful fields. + apiVersion, kind, + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional @@ -33799,6 +35559,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a @@ -33881,6 +35642,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More @@ -33900,10 +35662,21 @@ spec: info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -33951,10 +35724,21 @@ spec: operation will fail. properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -34077,6 +35861,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys @@ -34116,10 +35901,21 @@ spec: will be attempted. properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -34222,10 +36018,19 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -34297,10 +36102,19 @@ spec: secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the diff --git a/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_backupblueprints.yaml b/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_backupblueprints.yaml index 7e1f8be38..62b405d7c 100644 --- a/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_backupblueprints.yaml +++ b/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_backupblueprints.yaml @@ -169,10 +169,18 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -241,10 +249,18 @@ spec: secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret @@ -277,10 +293,17 @@ spec: description: The ConfigMap to select from properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -297,10 +320,17 @@ spec: description: The Secret to select from properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret @@ -354,6 +384,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http @@ -390,6 +421,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -483,6 +515,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http @@ -519,6 +552,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -600,6 +634,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for @@ -657,6 +692,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -775,6 +811,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for @@ -832,6 +869,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -988,6 +1026,32 @@ spec: this field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by this container. If set, + this profile overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name + is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that should + be used. The profile must be preconfigured + on the node to work. Must match the loaded + name of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which kind + of AppArmor profile will be applied. Valid + options are: Localhost - a profile pre-loaded + on the node. RuntimeDefault - the container + runtime''s default profile. Unconfined + - no AppArmor enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to the default @@ -1002,6 +1066,7 @@ spec: capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -1009,6 +1074,7 @@ spec: capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged mode. @@ -1306,11 +1372,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements by @@ -1358,11 +1426,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic weight: @@ -1377,6 +1447,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not met @@ -1448,11 +1519,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements by @@ -1500,14 +1573,17 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic type: array + x-kubernetes-list-type: atomic required: - nodeSelectorTerms type: object @@ -1602,11 +1678,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1633,7 +1711,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken @@ -1644,10 +1722,10 @@ spec: labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot be - set when LabelSelector isn't + to exist in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot be + set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -1663,7 +1741,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -1674,10 +1752,10 @@ spec: pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -1748,11 +1826,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1785,6 +1865,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -1815,6 +1896,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not met @@ -1894,11 +1976,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1922,7 +2006,7 @@ spec: consideration. The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration @@ -1931,9 +2015,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector + to exist in both matchLabelKeys + and labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -1950,7 +2034,7 @@ spec: are used to lookup values from the incoming pod labels, those key-value labels are merged - with `LabelSelector` as `key + with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration @@ -1959,9 +2043,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -2028,11 +2112,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2063,6 +2149,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not @@ -2081,6 +2168,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object podAntiAffinity: description: Describes pod anti-affinity @@ -2172,11 +2260,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2203,7 +2293,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken @@ -2214,10 +2304,10 @@ spec: labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot be - set when LabelSelector isn't + to exist in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot be + set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -2233,7 +2323,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -2244,10 +2334,10 @@ spec: pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -2318,11 +2408,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2355,6 +2447,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -2385,6 +2478,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the anti-affinity requirements specified by this field are not met @@ -2464,11 +2558,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2492,7 +2588,7 @@ spec: consideration. The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration @@ -2501,9 +2597,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector + to exist in both matchLabelKeys + and labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -2520,7 +2616,7 @@ spec: are used to lookup values from the incoming pod labels, those key-value labels are merged - with `LabelSelector` as `key + with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration @@ -2529,9 +2625,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -2598,11 +2694,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2633,6 +2731,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not @@ -2651,6 +2750,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object type: object args: @@ -2684,6 +2784,34 @@ spec: Note that this field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by this container. If set, + this profile overrides the pod's appArmorProfile. + Note that this field cannot be set when + spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must be + preconfigured on the node to work. + Must match the loaded name of the + profile. Must be set if and only if + type is "Localhost". + type: string + type: + description: 'type indicates which kind + of AppArmor profile will be applied. + Valid options are: Localhost - a profile + pre-loaded on the node. RuntimeDefault + - the container runtime''s default + profile. Unconfined - no AppArmor + enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to the @@ -2699,6 +2827,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -2706,6 +2835,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged @@ -2885,6 +3015,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic options: description: A list of DNS resolver options. This will be merged with the base options @@ -2903,6 +3034,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic searches: description: A list of DNS search domains for host-name lookup. This will be appended @@ -2912,6 +3044,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object dnsPolicy: description: Set DNS policy for the pod. Defaults @@ -2967,10 +3100,19 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -3042,10 +3184,19 @@ spec: secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -3088,10 +3239,17 @@ spec: referenced object inside the same namespace. properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -3137,6 +3295,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic command: description: 'Entrypoint array. Not executed within a shell. The container image''s @@ -3156,6 +3315,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic env: description: List of environment variables to set in the container. Cannot be updated. @@ -3199,11 +3359,21 @@ spec: select. type: string name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, + but due to backwards compatibility + is allowed to be empty. + Instances of this type + with an empty value here + are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -3280,11 +3450,21 @@ spec: be a valid secret key. type: string name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, + but due to backwards compatibility + is allowed to be empty. + Instances of this type + with an empty value here + are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -3300,6 +3480,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map envFrom: description: List of sources to populate environment variables in the container. @@ -3321,10 +3504,20 @@ spec: from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -3342,10 +3535,20 @@ spec: from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -3355,6 +3558,7 @@ spec: x-kubernetes-map-type: atomic type: object type: array + x-kubernetes-list-type: atomic image: description: 'Container image name. More info: https://kubernetes.io/docs/concepts/containers/images @@ -3408,6 +3612,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies @@ -3446,6 +3651,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -3552,6 +3758,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies @@ -3590,6 +3797,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -3681,6 +3889,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -3747,6 +3956,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -3936,6 +4146,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -4002,6 +4213,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -4232,6 +4444,37 @@ spec: cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the + AppArmor options to use by this + container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set + when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile + indicates a profile loaded on + the node that should be used. + The profile must be preconfigured + on the node to work. Must match + the loaded name of the profile. + Must be set if and only if type + is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will + be applied. Valid options are: + Localhost - a profile pre-loaded + on the node. RuntimeDefault + - the container runtime''s default + profile. Unconfined - no AppArmor + enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults @@ -4247,6 +4490,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -4254,6 +4498,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged @@ -4476,6 +4721,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -4542,6 +4788,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -4719,6 +4966,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map volumeMounts: description: Pod volumes to mount into the container's filesystem. Cannot be @@ -4738,7 +4988,11 @@ spec: the host to container and the other way around. When not set, MountPropagationNone is used. - This field is beta in 1.10. + This field is beta in 1.10. When + RecursiveReadOnly is set to IfPossible + or to Enabled, MountPropagation + must be None or unspecified (which + defaults to None). type: string name: description: This must match the @@ -4749,6 +5003,35 @@ spec: true, read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly + specifies whether read-only mounts + should be handled recursively. + \n If ReadOnly is false, this + field has no meaning and must + be unspecified. \n If ReadOnly + is true, and this field is set + to Disabled, the mount is not + made recursively read-only. If + this field is set to IfPossible, + the mount is made recursively + read-only, if it is supported + by the container runtime. If + this field is set to Enabled, + the mount is made recursively + read-only if it is supported by + the container runtime, otherwise + the pod will not be started and + an error will be generated to + indicate the reason. \n If this + field is set to IfPossible or + Enabled, MountPropagation must + be set to None (or be unspecified, + which defaults to None). \n If + this field is not specified, it + is treated as an equivalent of + Disabled." + type: string subPath: description: Path within the volume from which the container's volume @@ -4771,6 +5054,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map workingDir: description: Container's working directory. If not specified, the container runtime's @@ -4816,6 +5102,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http @@ -4852,6 +5139,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -4950,6 +5238,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http @@ -4986,6 +5275,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -5073,6 +5363,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -5136,6 +5427,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -5235,6 +5527,24 @@ spec: More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/' type: object x-kubernetes-map-type: atomic + podPlacementPolicy: + description: PodPlacementPolicy is the reference + of the podPlacementPolicy + properties: + name: + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type with + an empty value here are almost certainly + wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' + type: string + type: object + x-kubernetes-map-type: atomic priority: description: The priority value. Various system components use this field to find the priority @@ -5283,6 +5593,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -5346,6 +5657,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -5513,6 +5825,33 @@ spec: Optional: Defaults to empty. See type description for default values of each field.' properties: + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by the containers in this + pod. Note that this field cannot be set + when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must be + preconfigured on the node to work. + Must match the loaded name of the + profile. Must be set if and only if + type is "Localhost". + type: string + type: + description: 'type indicates which kind + of AppArmor profile will be applied. + Valid options are: Localhost - a profile + pre-loaded on the node. RuntimeDefault + - the container runtime''s default + profile. Unconfined - no AppArmor + enforcement.' + type: string + required: + - type + type: object fsGroup: description: "A special supplemental group that applies to all containers in a pod. @@ -5657,6 +5996,7 @@ spec: format: int64 type: integer type: array + x-kubernetes-list-type: atomic sysctls: description: Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported @@ -5680,6 +6020,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic windowsOptions: description: The Windows specific settings applied to all containers. If unspecified, @@ -5861,11 +6202,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -5963,10 +6306,7 @@ spec: same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of - the three zones, it will violate MaxSkew. - \n This is a beta field and requires - the MinDomainsInPodTopologySpread feature - gate to be enabled (enabled by default)." + the three zones, it will violate MaxSkew." format: int32 type: integer nodeAffinityPolicy: @@ -6070,7 +6410,11 @@ spec: how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is - used. This field is beta in 1.10. + used. This field is beta in 1.10. When + RecursiveReadOnly is set to IfPossible + or to Enabled, MountPropagation must + be None or unspecified (which defaults + to None). type: string name: description: This must match the Name @@ -6081,6 +6425,29 @@ spec: read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies + whether read-only mounts should be handled + recursively. \n If ReadOnly is false, + this field has no meaning and must be + unspecified. \n If ReadOnly is true, + and this field is set to Disabled, the + mount is not made recursively read-only. + \ If this field is set to IfPossible, + the mount is made recursively read-only, + if it is supported by the container + runtime. If this field is set to Enabled, + the mount is made recursively read-only + if it is supported by the container + runtime, otherwise the pod will not + be started and an error will be generated + to indicate the reason. \n If this field + is set to IfPossible or Enabled, MountPropagation + must be set to None (or be unspecified, + which defaults to None). \n If this + field is not specified, it is treated + as an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should @@ -6236,6 +6603,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than @@ -6261,10 +6629,19 @@ spec: More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -6302,10 +6679,19 @@ spec: parameters used to connect to OpenStack.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -6393,11 +6779,20 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -6440,10 +6835,19 @@ spec: are passed. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -6499,8 +6903,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace - are supported.' + labels, name, namespace and + uid are supported.' properties: apiVersion: description: Version of @@ -6580,6 +6984,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary @@ -6868,6 +7273,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: @@ -7113,11 +7519,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -7172,7 +7580,7 @@ spec: state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -7228,6 +7636,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either @@ -7237,6 +7646,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic @@ -7280,10 +7690,19 @@ spec: scripts.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -7465,6 +7884,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. @@ -7476,10 +7896,19 @@ spec: authentication properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -7707,11 +8136,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -7846,12 +8277,23 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, + but due to backwards compatibility + is allowed to be empty. + Instances of this type + with an empty value here + are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify @@ -7880,8 +8322,8 @@ spec: Selects a field of the pod: only annotations, labels, - name and namespace - are supported.' + name, namespace + and uid are supported.' properties: apiVersion: description: Version @@ -7982,6 +8424,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information @@ -8061,12 +8504,23 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, + but due to backwards compatibility + is allowed to be empty. + Instances of this type + with an empty value here + are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field @@ -8124,6 +8578,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte @@ -8202,6 +8657,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: @@ -8219,10 +8675,19 @@ spec: is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -8270,10 +8735,19 @@ spec: will fail. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -8386,6 +8860,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must @@ -8424,10 +8899,19 @@ spec: attempted. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -8644,6 +9128,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather @@ -8670,10 +9155,20 @@ spec: default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -8712,10 +9207,20 @@ spec: OpenStack.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -8807,11 +9312,21 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -8855,10 +9370,20 @@ spec: references are passed. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -8917,8 +9442,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only - annotations, labels, name - and namespace are supported.' + annotations, labels, name, + namespace and uid are supported.' properties: apiVersion: description: Version of @@ -9000,6 +9525,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a @@ -9302,6 +9828,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify @@ -9568,11 +10095,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -9631,7 +10160,7 @@ spec: the modifyVolumeStatus field, until such as a resource exists. More - info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -9688,6 +10217,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers @@ -9697,6 +10227,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a @@ -9741,10 +10272,20 @@ spec: are passed to the plugin scripts.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -9930,6 +10471,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in @@ -9941,10 +10483,20 @@ spec: authentication properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -10179,11 +10731,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -10329,13 +10883,25 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of - the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + the referent. This field + is effectively required, + but due to backwards + compatibility is allowed + to be empty. Instances + of this type with an + empty value here are + almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional @@ -10366,8 +10932,8 @@ spec: Selects a field of the pod: only annotations, labels, - name and namespace - are supported.' + name, namespace + and uid are supported.' properties: apiVersion: description: Version @@ -10478,6 +11044,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information @@ -10565,13 +11132,25 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of - the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + the referent. This field + is effectively required, + but due to backwards + compatibility is allowed + to be empty. Instances + of this type with an + empty value here are + almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional @@ -10632,6 +11211,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte @@ -10713,6 +11293,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More @@ -10732,10 +11313,20 @@ spec: info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -10783,10 +11374,20 @@ spec: operation will fail. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -10902,6 +11503,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys @@ -10940,10 +11542,20 @@ spec: will be attempted. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -11159,6 +11771,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: @@ -11393,11 +12006,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -11448,7 +12063,7 @@ spec: will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -11704,6 +12319,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An @@ -11915,11 +12531,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -11965,7 +12583,7 @@ spec: will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -11997,6 +12615,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic allocatedResourceStatuses: additionalProperties: description: When a controller @@ -12131,7 +12750,7 @@ spec: Condition of persistent volume claim. If underlying persistent volume is being resized then the - Condition will be set to 'ResizeStarted'. + Condition will be set to 'Resizing'. items: description: PersistentVolumeClaimCondition contains details about state @@ -12161,7 +12780,7 @@ spec: machine understandable string that gives the reason for condition's last transition. - If it reports "ResizeStarted" + If it reports "Resizing" that means the underlying persistent volume is being resized. @@ -12177,6 +12796,9 @@ spec: - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map currentVolumeAttributesClassName: description: currentVolumeAttributesClassName is the current name of the VolumeAttributesClass @@ -12253,6 +12875,10 @@ spec: host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible + or to Enabled, MountPropagation must + be None or unspecified (which defaults + to None). type: string name: description: This must match the Name @@ -12263,6 +12889,30 @@ spec: read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies + whether read-only mounts should be + handled recursively. \n If ReadOnly + is false, this field has no meaning + and must be unspecified. \n If ReadOnly + is true, and this field is set to + Disabled, the mount is not made recursively + read-only. If this field is set to + IfPossible, the mount is made recursively + read-only, if it is supported by the + container runtime. If this field + is set to Enabled, the mount is made + recursively read-only if it is supported + by the container runtime, otherwise + the pod will not be started and an + error will be generated to indicate + the reason. \n If this field is set + to IfPossible or Enabled, MountPropagation + must be set to None (or be unspecified, + which defaults to None). \n If this + field is not specified, it is treated + as an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume @@ -12419,6 +13069,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather @@ -12445,10 +13096,20 @@ spec: default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -12487,10 +13148,20 @@ spec: OpenStack.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -12582,11 +13253,21 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -12630,10 +13311,20 @@ spec: references are passed. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -12692,8 +13383,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only - annotations, labels, name - and namespace are supported.' + annotations, labels, name, + namespace and uid are supported.' properties: apiVersion: description: Version of @@ -12775,6 +13466,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a @@ -13077,6 +13769,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify @@ -13343,11 +14036,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -13406,7 +14101,7 @@ spec: the modifyVolumeStatus field, until such as a resource exists. More - info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -13463,6 +14158,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers @@ -13472,6 +14168,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a @@ -13516,10 +14213,20 @@ spec: are passed to the plugin scripts.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -13705,6 +14412,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in @@ -13716,10 +14424,20 @@ spec: authentication properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -13959,11 +14677,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -14109,13 +14829,25 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of - the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + the referent. This field + is effectively required, + but due to backwards + compatibility is allowed + to be empty. Instances + of this type with an + empty value here are + almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional @@ -14146,8 +14878,8 @@ spec: Selects a field of the pod: only annotations, labels, - name and namespace - are supported.' + name, namespace + and uid are supported.' properties: apiVersion: description: Version @@ -14258,6 +14990,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information @@ -14345,13 +15078,25 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of - the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + the referent. This field + is effectively required, + but due to backwards + compatibility is allowed + to be empty. Instances + of this type with an + empty value here are + almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional @@ -14412,6 +15157,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte @@ -14493,6 +15239,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More @@ -14512,10 +15259,20 @@ spec: info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -14563,10 +15320,20 @@ spec: operation will fail. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -14682,6 +15449,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys @@ -14720,10 +15488,20 @@ spec: will be attempted. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -14826,10 +15604,19 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -14899,10 +15686,19 @@ spec: secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -15031,11 +15827,21 @@ spec: select. type: string name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, + but due to backwards compatibility + is allowed to be empty. + Instances of this type + with an empty value here + are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -15112,11 +15918,21 @@ spec: be a valid secret key. type: string name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, + but due to backwards compatibility + is allowed to be empty. + Instances of this type + with an empty value here + are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -15153,10 +15969,20 @@ spec: from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -15174,10 +16000,20 @@ spec: from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -15238,6 +16074,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies @@ -15276,6 +16113,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -15382,6 +16220,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies @@ -15420,6 +16259,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -15511,6 +16351,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -15577,6 +16418,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -15713,6 +16555,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -15779,6 +16622,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -15954,6 +16798,37 @@ spec: cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the + AppArmor options to use by this + container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set + when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile + indicates a profile loaded on + the node that should be used. + The profile must be preconfigured + on the node to work. Must match + the loaded name of the profile. + Must be set if and only if type + is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will + be applied. Valid options are: + Localhost - a profile pre-loaded + on the node. RuntimeDefault + - the container runtime''s default + profile. Unconfined - no AppArmor + enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults @@ -15969,6 +16844,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -15976,6 +16852,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged @@ -16265,11 +17142,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements @@ -16327,11 +17206,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic weight: @@ -16346,6 +17227,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are @@ -16429,11 +17311,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements @@ -16491,14 +17375,17 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic type: array + x-kubernetes-list-type: atomic required: - nodeSelectorTerms type: object @@ -16615,11 +17502,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -16652,7 +17541,7 @@ spec: to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key in (value)` to select the group of existing pods which @@ -16666,11 +17555,11 @@ spec: The default value is empty. The same key is forbidden to - exist in both MatchLabelKeys - and LabelSelector. - Also, MatchLabelKeys + exist in both matchLabelKeys + and labelSelector. + Also, matchLabelKeys cannot be set when - LabelSelector isn't + labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -16689,7 +17578,7 @@ spec: to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which @@ -16703,11 +17592,11 @@ spec: The default value is empty. The same key is forbidden to - exist in both MismatchLabelKeys - and LabelSelector. - Also, MismatchLabelKeys + exist in both mismatchLabelKeys + and labelSelector. + Also, mismatchLabelKeys cannot be set when - LabelSelector isn't + labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -16797,11 +17686,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -16842,6 +17733,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located @@ -16876,6 +17768,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are @@ -16967,11 +17860,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -16999,7 +17894,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be @@ -17011,10 +17906,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot - be set when LabelSelector + in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -17032,7 +17927,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -17044,10 +17939,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -17123,11 +18018,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -17161,6 +18058,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -17181,6 +18079,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object podAntiAffinity: description: Describes pod anti-affinity @@ -17293,11 +18192,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -17330,7 +18231,7 @@ spec: to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key in (value)` to select the group of existing pods which @@ -17344,11 +18245,11 @@ spec: The default value is empty. The same key is forbidden to - exist in both MatchLabelKeys - and LabelSelector. - Also, MatchLabelKeys + exist in both matchLabelKeys + and labelSelector. + Also, matchLabelKeys cannot be set when - LabelSelector isn't + labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -17367,7 +18268,7 @@ spec: to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which @@ -17381,11 +18282,11 @@ spec: The default value is empty. The same key is forbidden to - exist in both MismatchLabelKeys - and LabelSelector. - Also, MismatchLabelKeys + exist in both mismatchLabelKeys + and labelSelector. + Also, mismatchLabelKeys cannot be set when - LabelSelector isn't + labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -17475,11 +18376,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -17520,6 +18423,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located @@ -17554,6 +18458,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the anti-affinity requirements specified by this @@ -17645,11 +18550,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -17677,7 +18584,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be @@ -17689,10 +18596,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot - be set when LabelSelector + in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -17710,7 +18617,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -17722,10 +18629,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -17801,11 +18708,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -17839,6 +18748,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -17859,6 +18769,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object type: object automountServiceAccountToken: @@ -17890,10 +18801,19 @@ spec: namespace. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -17996,6 +18916,36 @@ spec: should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/' properties: + appArmorProfile: + description: appArmorProfile is the + AppArmor options to use by the containers + in this pod. Note that this field + cannot be set when spec.os.name + is windows. + properties: + localhostProfile: + description: localhostProfile + indicates a profile loaded on + the node that should be used. + The profile must be preconfigured + on the node to work. Must match + the loaded name of the profile. + Must be set if and only if type + is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will + be applied. Valid options are: + Localhost - a profile pre-loaded + on the node. RuntimeDefault + - the container runtime''s default + profile. Unconfined - no AppArmor + enforcement.' + type: string + required: + - type + type: object fsGroup: description: "A special supplemental group that applies to all containers @@ -18156,6 +19106,7 @@ spec: format: int64 type: integer type: array + x-kubernetes-list-type: atomic sysctls: description: Sysctls hold a list of namespaced sysctls used for the @@ -18181,6 +19132,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic windowsOptions: description: The Windows specific settings applied to all containers. @@ -18361,11 +19313,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -18477,11 +19431,7 @@ spec: be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three - zones, it will violate MaxSkew. - \n This is a beta field and requires - the MinDomainsInPodTopologySpread - feature gate to be enabled (enabled - by default)." + zones, it will violate MaxSkew." format: int32 type: integer nodeAffinityPolicy: @@ -18629,10 +19579,19 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -18702,10 +19661,19 @@ spec: secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -18739,7 +19707,11 @@ spec: how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is - used. This field is beta in 1.10. + used. This field is beta in 1.10. When + RecursiveReadOnly is set to IfPossible + or to Enabled, MountPropagation must be + None or unspecified (which defaults to + None). type: string name: description: This must match the Name of @@ -18750,6 +19722,28 @@ spec: read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies + whether read-only mounts should be handled + recursively. \n If ReadOnly is false, + this field has no meaning and must be + unspecified. \n If ReadOnly is true, and + this field is set to Disabled, the mount + is not made recursively read-only. If + this field is set to IfPossible, the mount + is made recursively read-only, if it is + supported by the container runtime. If + this field is set to Enabled, the mount + is made recursively read-only if it is + supported by the container runtime, otherwise + the pod will not be started and an error + will be generated to indicate the reason. + \n If this field is set to IfPossible + or Enabled, MountPropagation must be set + to None (or be unspecified, which defaults + to None). \n If this field is not specified, + it is treated as an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should be @@ -18899,6 +19893,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than the @@ -18923,10 +19918,19 @@ spec: More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -18963,10 +19967,19 @@ spec: parameters used to connect to OpenStack.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -19052,11 +20065,19 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -19096,10 +20117,19 @@ spec: all secret references are passed. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -19154,8 +20184,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace are - supported.' + labels, name, namespace and + uid are supported.' properties: apiVersion: description: Version of the @@ -19232,6 +20262,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary @@ -19506,6 +20537,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: @@ -19740,11 +20772,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -19795,7 +20829,7 @@ spec: will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -19849,6 +20883,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either @@ -19858,6 +20893,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic @@ -19900,10 +20936,19 @@ spec: are passed to the plugin scripts.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -20079,6 +21124,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. @@ -20089,10 +21135,19 @@ spec: for iSCSI target and initiator authentication properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -20310,11 +21365,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -20441,11 +21498,23 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify @@ -20472,8 +21541,8 @@ spec: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace - are supported.' + labels, name, namespace + and uid are supported.' properties: apiVersion: description: Version @@ -20569,6 +21638,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information @@ -20643,11 +21713,23 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field @@ -20702,6 +21784,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte @@ -20777,6 +21860,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' @@ -20793,10 +21877,19 @@ spec: is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -20843,10 +21936,19 @@ spec: fail. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -20957,6 +22059,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must @@ -20993,10 +22096,19 @@ spec: default values will be attempted. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -21162,11 +22274,21 @@ spec: select. type: string name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, + but due to backwards compatibility + is allowed to be empty. + Instances of this type + with an empty value here + are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -21243,11 +22365,21 @@ spec: be a valid secret key. type: string name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, + but due to backwards compatibility + is allowed to be empty. + Instances of this type + with an empty value here + are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -21284,10 +22416,20 @@ spec: from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -21305,10 +22447,20 @@ spec: from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -21369,6 +22521,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies @@ -21407,6 +22560,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -21513,6 +22667,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies @@ -21551,6 +22706,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -21642,6 +22798,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -21708,6 +22865,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -21844,6 +23002,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -21910,6 +23069,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -22085,6 +23245,37 @@ spec: cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the + AppArmor options to use by this + container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set + when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile + indicates a profile loaded on + the node that should be used. + The profile must be preconfigured + on the node to work. Must match + the loaded name of the profile. + Must be set if and only if type + is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will + be applied. Valid options are: + Localhost - a profile pre-loaded + on the node. RuntimeDefault + - the container runtime''s default + profile. Unconfined - no AppArmor + enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults @@ -22100,6 +23291,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -22107,6 +23299,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged @@ -22396,11 +23589,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements @@ -22458,11 +23653,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic weight: @@ -22477,6 +23674,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are @@ -22560,11 +23758,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements @@ -22622,14 +23822,17 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic type: array + x-kubernetes-list-type: atomic required: - nodeSelectorTerms type: object @@ -22746,11 +23949,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -22783,7 +23988,7 @@ spec: to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key in (value)` to select the group of existing pods which @@ -22797,11 +24002,11 @@ spec: The default value is empty. The same key is forbidden to - exist in both MatchLabelKeys - and LabelSelector. - Also, MatchLabelKeys + exist in both matchLabelKeys + and labelSelector. + Also, matchLabelKeys cannot be set when - LabelSelector isn't + labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -22820,7 +24025,7 @@ spec: to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which @@ -22834,11 +24039,11 @@ spec: The default value is empty. The same key is forbidden to - exist in both MismatchLabelKeys - and LabelSelector. - Also, MismatchLabelKeys + exist in both mismatchLabelKeys + and labelSelector. + Also, mismatchLabelKeys cannot be set when - LabelSelector isn't + labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -22928,11 +24133,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -22973,6 +24180,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located @@ -23007,6 +24215,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are @@ -23098,11 +24307,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -23130,7 +24341,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be @@ -23142,10 +24353,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot - be set when LabelSelector + in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -23163,7 +24374,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -23175,10 +24386,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -23254,11 +24465,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -23292,6 +24505,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -23312,6 +24526,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object podAntiAffinity: description: Describes pod anti-affinity @@ -23424,11 +24639,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -23461,7 +24678,7 @@ spec: to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key in (value)` to select the group of existing pods which @@ -23475,11 +24692,11 @@ spec: The default value is empty. The same key is forbidden to - exist in both MatchLabelKeys - and LabelSelector. - Also, MatchLabelKeys + exist in both matchLabelKeys + and labelSelector. + Also, matchLabelKeys cannot be set when - LabelSelector isn't + labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -23498,7 +24715,7 @@ spec: to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which @@ -23512,11 +24729,11 @@ spec: The default value is empty. The same key is forbidden to - exist in both MismatchLabelKeys - and LabelSelector. - Also, MismatchLabelKeys + exist in both mismatchLabelKeys + and labelSelector. + Also, mismatchLabelKeys cannot be set when - LabelSelector isn't + labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -23606,11 +24823,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -23651,6 +24870,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located @@ -23685,6 +24905,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the anti-affinity requirements specified by this @@ -23776,11 +24997,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -23808,7 +25031,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be @@ -23820,10 +25043,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot - be set when LabelSelector + in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -23841,7 +25064,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -23853,10 +25076,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -23932,11 +25155,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -23970,6 +25195,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -23990,6 +25216,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object type: object automountServiceAccountToken: @@ -24021,10 +25248,19 @@ spec: namespace. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -24127,6 +25363,36 @@ spec: should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/' properties: + appArmorProfile: + description: appArmorProfile is the + AppArmor options to use by the containers + in this pod. Note that this field + cannot be set when spec.os.name + is windows. + properties: + localhostProfile: + description: localhostProfile + indicates a profile loaded on + the node that should be used. + The profile must be preconfigured + on the node to work. Must match + the loaded name of the profile. + Must be set if and only if type + is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will + be applied. Valid options are: + Localhost - a profile pre-loaded + on the node. RuntimeDefault + - the container runtime''s default + profile. Unconfined - no AppArmor + enforcement.' + type: string + required: + - type + type: object fsGroup: description: "A special supplemental group that applies to all containers @@ -24287,6 +25553,7 @@ spec: format: int64 type: integer type: array + x-kubernetes-list-type: atomic sysctls: description: Sysctls hold a list of namespaced sysctls used for the @@ -24312,6 +25579,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic windowsOptions: description: The Windows specific settings applied to all containers. @@ -24492,11 +25760,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -24608,11 +25878,7 @@ spec: be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three - zones, it will violate MaxSkew. - \n This is a beta field and requires - the MinDomainsInPodTopologySpread - feature gate to be enabled (enabled - by default)." + zones, it will violate MaxSkew." format: int32 type: integer nodeAffinityPolicy: @@ -24760,10 +26026,19 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -24833,10 +26108,19 @@ spec: secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -24870,7 +26154,11 @@ spec: how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is - used. This field is beta in 1.10. + used. This field is beta in 1.10. When + RecursiveReadOnly is set to IfPossible + or to Enabled, MountPropagation must be + None or unspecified (which defaults to + None). type: string name: description: This must match the Name of @@ -24881,6 +26169,28 @@ spec: read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies + whether read-only mounts should be handled + recursively. \n If ReadOnly is false, + this field has no meaning and must be + unspecified. \n If ReadOnly is true, and + this field is set to Disabled, the mount + is not made recursively read-only. If + this field is set to IfPossible, the mount + is made recursively read-only, if it is + supported by the container runtime. If + this field is set to Enabled, the mount + is made recursively read-only if it is + supported by the container runtime, otherwise + the pod will not be started and an error + will be generated to indicate the reason. + \n If this field is set to IfPossible + or Enabled, MountPropagation must be set + to None (or be unspecified, which defaults + to None). \n If this field is not specified, + it is treated as an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should be @@ -25030,6 +26340,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than the @@ -25054,10 +26365,19 @@ spec: More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -25094,10 +26414,19 @@ spec: parameters used to connect to OpenStack.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -25183,11 +26512,19 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -25227,10 +26564,19 @@ spec: all secret references are passed. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -25285,8 +26631,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace are - supported.' + labels, name, namespace and + uid are supported.' properties: apiVersion: description: Version of the @@ -25363,6 +26709,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary @@ -25637,6 +26984,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: @@ -25871,11 +27219,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -25926,7 +27276,7 @@ spec: will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -25980,6 +27330,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either @@ -25989,6 +27340,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic @@ -26031,10 +27383,19 @@ spec: are passed to the plugin scripts.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -26210,6 +27571,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. @@ -26220,10 +27582,19 @@ spec: for iSCSI target and initiator authentication properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -26441,11 +27812,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -26572,11 +27945,23 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify @@ -26603,8 +27988,8 @@ spec: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace - are supported.' + labels, name, namespace + and uid are supported.' properties: apiVersion: description: Version @@ -26700,6 +28085,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information @@ -26774,11 +28160,23 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field @@ -26833,6 +28231,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte @@ -26908,6 +28307,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' @@ -26924,10 +28324,19 @@ spec: is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -26974,10 +28383,19 @@ spec: fail. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -27088,6 +28506,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must @@ -27124,10 +28543,19 @@ spec: default values will be attempted. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -27506,11 +28934,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements @@ -27565,11 +28995,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic weight: @@ -27584,6 +29016,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not @@ -27663,11 +29096,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements @@ -27722,14 +29157,17 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic type: array + x-kubernetes-list-type: atomic required: - nodeSelectorTerms type: object @@ -27836,11 +29274,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -27871,7 +29311,7 @@ spec: from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key in (value)` to select the group of existing pods which pods will @@ -27884,10 +29324,10 @@ spec: The default value is empty. The same key is forbidden to exist - in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot - be set when LabelSelector + in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -27906,7 +29346,7 @@ spec: from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will @@ -27919,10 +29359,10 @@ spec: The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -28004,11 +29444,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -28045,6 +29487,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located @@ -28078,6 +29521,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not @@ -28164,11 +29608,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -28195,7 +29641,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken @@ -28206,10 +29652,10 @@ spec: labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot be - set when LabelSelector isn't + to exist in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot be + set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -28225,7 +29671,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -28236,10 +29682,10 @@ spec: pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -28310,11 +29756,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -28347,6 +29795,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -28366,6 +29815,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object podAntiAffinity: description: Describes pod anti-affinity @@ -28469,11 +29919,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -28504,7 +29956,7 @@ spec: from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key in (value)` to select the group of existing pods which pods will @@ -28517,10 +29969,10 @@ spec: The default value is empty. The same key is forbidden to exist - in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot - be set when LabelSelector + in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -28539,7 +29991,7 @@ spec: from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will @@ -28552,10 +30004,10 @@ spec: The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -28637,11 +30089,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -28678,6 +30132,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located @@ -28711,6 +30166,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the anti-affinity requirements specified by this @@ -28797,11 +30253,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -28828,7 +30286,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken @@ -28839,10 +30297,10 @@ spec: labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot be - set when LabelSelector isn't + to exist in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot be + set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -28858,7 +30316,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -28869,10 +30327,10 @@ spec: pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -28943,11 +30401,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -28980,6 +30440,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -28999,6 +30460,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object type: object args: @@ -29034,6 +30496,36 @@ spec: Note that this field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the + AppArmor options to use by this container. + If set, this profile overrides the + pod's appArmorProfile. Note that this + field cannot be set when spec.os.name + is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must + be preconfigured on the node to + work. Must match the loaded name + of the profile. Must be set if + and only if type is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will + be applied. Valid options are: + Localhost - a profile pre-loaded + on the node. RuntimeDefault - + the container runtime''s default + profile. Unconfined - no AppArmor + enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults @@ -29049,6 +30541,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -29056,6 +30549,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged @@ -29249,6 +30743,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic options: description: A list of DNS resolver options. This will be merged with @@ -29268,6 +30763,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic searches: description: A list of DNS search domains for host-name lookup. This will be @@ -29277,6 +30773,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object dnsPolicy: description: Set DNS policy for the pod. @@ -29336,10 +30833,21 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -29415,10 +30923,21 @@ spec: be a valid secret key. type: string name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -29464,10 +30983,18 @@ spec: namespace. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -29517,6 +31044,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic command: description: 'Entrypoint array. Not executed within a shell. The container @@ -29538,6 +31066,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic env: description: List of environment variables to set in the container. Cannot @@ -29585,12 +31114,23 @@ spec: to select. type: string name: + default: "" description: 'Name of - the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful - fields. apiVersion, - kind, uid?' + the referent. This + field is effectively + required, but due + to backwards compatibility + is allowed to be empty. + Instances of this + type with an empty + value here are almost + certainly wrong. TODO: + Add other useful fields. + apiVersion, kind, + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify @@ -29675,12 +31215,23 @@ spec: secret key. type: string name: + default: "" description: 'Name of - the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful - fields. apiVersion, - kind, uid?' + the referent. This + field is effectively + required, but due + to backwards compatibility + is allowed to be empty. + Instances of this + type with an empty + value here are almost + certainly wrong. TODO: + Add other useful fields. + apiVersion, kind, + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify @@ -29697,6 +31248,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map envFrom: description: List of sources to populate environment variables in the container. @@ -29719,11 +31273,21 @@ spec: select from properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, + but due to backwards compatibility + is allowed to be empty. + Instances of this type + with an empty value here + are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -29742,11 +31306,21 @@ spec: from properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, + but due to backwards compatibility + is allowed to be empty. + Instances of this type + with an empty value here + are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -29756,6 +31330,7 @@ spec: x-kubernetes-map-type: atomic type: object type: array + x-kubernetes-list-type: atomic image: description: 'Container image name. More info: https://kubernetes.io/docs/concepts/containers/images @@ -29815,6 +31390,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies @@ -29856,6 +31432,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -29975,6 +31552,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies @@ -30016,6 +31594,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -30116,6 +31695,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive @@ -30185,6 +31765,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -30385,6 +31966,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive @@ -30454,6 +32036,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -30702,6 +32285,40 @@ spec: this field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is + the AppArmor options to use + by this container. If set, this + profile overrides the pod's + appArmorProfile. Note that this + field cannot be set when spec.os.name + is windows. + properties: + localhostProfile: + description: localhostProfile + indicates a profile loaded + on the node that should + be used. The profile must + be preconfigured on the + node to work. Must match + the loaded name of the profile. + Must be set if and only + if type is "Localhost". + type: string + type: + description: 'type indicates + which kind of AppArmor profile + will be applied. Valid options + are: Localhost - a profile + pre-loaded on the node. + RuntimeDefault - the container + runtime''s default profile. + Unconfined - no AppArmor + enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. @@ -30719,6 +32336,7 @@ spec: type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -30727,6 +32345,7 @@ spec: type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in @@ -30968,6 +32587,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive @@ -31037,6 +32657,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -31228,6 +32849,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map volumeMounts: description: Pod volumes to mount into the container's filesystem. @@ -31250,7 +32874,11 @@ spec: container and the other way around. When not set, MountPropagationNone is used. This field is beta - in 1.10. + in 1.10. When RecursiveReadOnly + is set to IfPossible or to + Enabled, MountPropagation + must be None or unspecified + (which defaults to None). type: string name: description: This must match @@ -31262,6 +32890,36 @@ spec: (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly + specifies whether read-only + mounts should be handled recursively. + \n If ReadOnly is false, this + field has no meaning and must + be unspecified. \n If ReadOnly + is true, and this field is + set to Disabled, the mount + is not made recursively read-only. + \ If this field is set to + IfPossible, the mount is made + recursively read-only, if + it is supported by the container + runtime. If this field is + set to Enabled, the mount + is made recursively read-only + if it is supported by the + container runtime, otherwise + the pod will not be started + and an error will be generated + to indicate the reason. \n + If this field is set to IfPossible + or Enabled, MountPropagation + must be set to None (or be + unspecified, which defaults + to None). \n If this field + is not specified, it is treated + as an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's @@ -31285,6 +32943,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map workingDir: description: Container's working directory. If not specified, the container @@ -31332,6 +32993,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the @@ -31369,6 +33031,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -31473,6 +33136,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the @@ -31510,6 +33174,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -31604,6 +33269,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -31668,6 +33334,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -31771,6 +33438,25 @@ spec: on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/' type: object x-kubernetes-map-type: atomic + podPlacementPolicy: + description: PodPlacementPolicy is the reference + of the podPlacementPolicy + properties: + name: + default: "" + description: 'Name of the referent. + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' + type: string + type: object + x-kubernetes-map-type: atomic priority: description: The priority value. Various system components use this field to find @@ -31824,6 +33510,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -31888,6 +33575,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -32063,6 +33751,35 @@ spec: type description for default values of each field.' properties: + appArmorProfile: + description: appArmorProfile is the + AppArmor options to use by the containers + in this pod. Note that this field + cannot be set when spec.os.name is + windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must + be preconfigured on the node to + work. Must match the loaded name + of the profile. Must be set if + and only if type is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will + be applied. Valid options are: + Localhost - a profile pre-loaded + on the node. RuntimeDefault - + the container runtime''s default + profile. Unconfined - no AppArmor + enforcement.' + type: string + required: + - type + type: object fsGroup: description: "A special supplemental group that applies to all containers @@ -32214,6 +33931,7 @@ spec: format: int64 type: integer type: array + x-kubernetes-list-type: atomic sysctls: description: Sysctls hold a list of namespaced sysctls used for the pod. @@ -32238,6 +33956,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic windowsOptions: description: The Windows specific settings applied to all containers. If unspecified, @@ -32432,11 +34151,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -32544,10 +34265,7 @@ spec: because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will - violate MaxSkew. \n This is a beta - field and requires the MinDomainsInPodTopologySpread - feature gate to be enabled (enabled - by default)." + violate MaxSkew." format: int32 type: integer nodeAffinityPolicy: @@ -32658,6 +34376,10 @@ spec: host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. + When RecursiveReadOnly is set to + IfPossible or to Enabled, MountPropagation + must be None or unspecified (which + defaults to None). type: string name: description: This must match the Name @@ -32668,6 +34390,31 @@ spec: true, read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies + whether read-only mounts should + be handled recursively. \n If ReadOnly + is false, this field has no meaning + and must be unspecified. \n If ReadOnly + is true, and this field is set to + Disabled, the mount is not made + recursively read-only. If this + field is set to IfPossible, the + mount is made recursively read-only, + if it is supported by the container + runtime. If this field is set to + Enabled, the mount is made recursively + read-only if it is supported by + the container runtime, otherwise + the pod will not be started and + an error will be generated to indicate + the reason. \n If this field is + set to IfPossible or Enabled, MountPropagation + must be set to None (or be unspecified, + which defaults to None). \n If this + field is not specified, it is treated + as an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume @@ -32828,6 +34575,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather @@ -32855,10 +34603,21 @@ spec: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -32900,10 +34659,21 @@ spec: OpenStack.' properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -33001,11 +34771,21 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify @@ -33049,10 +34829,21 @@ spec: references are passed. properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -33113,8 +34904,8 @@ spec: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace - are supported.' + labels, name, namespace + and uid are supported.' properties: apiVersion: description: Version @@ -33203,6 +34994,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents @@ -33522,6 +35314,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to @@ -33804,11 +35597,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -33871,7 +35666,7 @@ spec: by the modifyVolumeStatus field, until such as a resource exists. More - info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -33929,6 +35724,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers @@ -33938,6 +35734,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents @@ -33983,10 +35780,21 @@ spec: are passed to the plugin scripts.' properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -34180,6 +35988,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in @@ -34191,10 +36000,21 @@ spec: and initiator authentication properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -34444,11 +36264,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -34605,13 +36427,25 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of - the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful - fields. apiVersion, - kind, uid?' + the referent. This + field is effectively + required, but due + to backwards compatibility + is allowed to be empty. + Instances of this + type with an empty + value here are almost + certainly wrong. TODO: + Add other useful fields. + apiVersion, kind, + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional @@ -34642,9 +36476,9 @@ spec: Selects a field of the pod: only annotations, - labels, name - and namespace - are supported.' + labels, name, + namespace and + uid are supported.' properties: apiVersion: description: Version @@ -34761,6 +36595,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information @@ -34855,13 +36690,25 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of - the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful - fields. apiVersion, - kind, uid?' + the referent. This + field is effectively + required, but due + to backwards compatibility + is allowed to be empty. + Instances of this + type with an empty + value here are almost + certainly wrong. TODO: + Add other useful fields. + apiVersion, kind, + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional @@ -34924,6 +36771,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a @@ -35006,6 +36854,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More @@ -35025,10 +36874,21 @@ spec: info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -35076,10 +36936,21 @@ spec: operation will fail. properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -35202,6 +37073,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys @@ -35241,10 +37113,21 @@ spec: will be attempted. properties: name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -35446,11 +37329,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string diff --git a/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_backupconfigurations.yaml b/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_backupconfigurations.yaml index f9e2f8be1..30807c31b 100644 --- a/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_backupconfigurations.yaml +++ b/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_backupconfigurations.yaml @@ -163,10 +163,17 @@ spec: description: The key to select. type: string name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -233,10 +240,17 @@ spec: key. type: string name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret @@ -268,10 +282,16 @@ spec: description: The ConfigMap to select from properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -287,10 +307,16 @@ spec: description: The Secret to select from properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret must @@ -342,6 +368,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http request @@ -373,6 +400,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -461,6 +489,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http request @@ -492,6 +521,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -570,6 +600,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for the @@ -626,6 +657,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -738,6 +770,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for the @@ -794,6 +827,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -944,6 +978,32 @@ spec: has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor options + to use by this container. If set, this profile + overrides the pod's appArmorProfile. Note that + this field cannot be set when spec.os.name is + windows. + properties: + localhostProfile: + description: localhostProfile indicates a profile + loaded on the node that should be used. The + profile must be preconfigured on the node + to work. Must match the loaded name of the + profile. Must be set if and only if type is + "Localhost". + type: string + type: + description: 'type indicates which kind of AppArmor + profile will be applied. Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime''s + default profile. Unconfined - no AppArmor + enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to the default set of capabilities @@ -957,6 +1017,7 @@ spec: type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -964,6 +1025,7 @@ spec: type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged mode. Processes @@ -1243,11 +1305,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements by node's fields. @@ -1290,11 +1354,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic weight: @@ -1308,6 +1374,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not met at @@ -1371,11 +1438,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements by node's fields. @@ -1418,14 +1487,17 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic type: array + x-kubernetes-list-type: atomic required: - nodeSelectorTerms type: object @@ -1516,11 +1588,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1544,7 +1618,7 @@ spec: consideration. The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration @@ -1553,9 +1627,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector + to exist in both matchLabelKeys + and labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -1572,7 +1646,7 @@ spec: are used to lookup values from the incoming pod labels, those key-value labels are merged - with `LabelSelector` as `key + with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration @@ -1581,9 +1655,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -1650,11 +1724,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1685,6 +1761,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not @@ -1713,6 +1790,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not met at @@ -1783,11 +1861,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1810,7 +1890,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key in (value)` + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's @@ -1818,9 +1898,9 @@ spec: exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector + to exist in both matchLabelKeys + and labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -1835,7 +1915,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key notin (value)` + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's @@ -1843,9 +1923,9 @@ spec: exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -1903,11 +1983,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1936,6 +2018,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not co-located (anti-affinity) @@ -1952,6 +2035,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object podAntiAffinity: description: Describes pod anti-affinity scheduling @@ -2038,11 +2122,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2066,7 +2152,7 @@ spec: consideration. The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration @@ -2075,9 +2161,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector + to exist in both matchLabelKeys + and labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -2094,7 +2180,7 @@ spec: are used to lookup values from the incoming pod labels, those key-value labels are merged - with `LabelSelector` as `key + with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration @@ -2103,9 +2189,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -2172,11 +2258,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2207,6 +2295,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not @@ -2235,6 +2324,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the anti-affinity requirements specified by this field are not met at @@ -2305,11 +2395,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2332,7 +2424,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key in (value)` + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's @@ -2340,9 +2432,9 @@ spec: exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector + to exist in both matchLabelKeys + and labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -2357,7 +2449,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key notin (value)` + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's @@ -2365,9 +2457,9 @@ spec: exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -2425,11 +2517,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2458,6 +2552,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not co-located (anti-affinity) @@ -2474,6 +2569,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object type: object args: @@ -2506,6 +2602,32 @@ spec: this field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by this container. If set, + this profile overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name + is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that should + be used. The profile must be preconfigured + on the node to work. Must match the loaded + name of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which kind + of AppArmor profile will be applied. Valid + options are: Localhost - a profile pre-loaded + on the node. RuntimeDefault - the container + runtime''s default profile. Unconfined + - no AppArmor enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to the default @@ -2520,6 +2642,7 @@ spec: capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -2527,6 +2650,7 @@ spec: capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged mode. @@ -2695,6 +2819,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic options: description: A list of DNS resolver options. This will be merged with the base options @@ -2713,6 +2838,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic searches: description: A list of DNS search domains for host-name lookup. This will be appended to @@ -2721,6 +2847,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object dnsPolicy: description: Set DNS policy for the pod. Defaults @@ -2774,10 +2901,18 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -2846,10 +2981,18 @@ spec: secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret @@ -2891,10 +3034,16 @@ spec: object inside the same namespace. properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -2937,6 +3086,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic command: description: 'Entrypoint array. Not executed within a shell. The container image''s ENTRYPOINT @@ -2955,6 +3105,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic env: description: List of environment variables to set in the container. Cannot be updated. @@ -2995,10 +3146,20 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -3072,10 +3233,20 @@ spec: be a valid secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -3091,6 +3262,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map envFrom: description: List of sources to populate environment variables in the container. The keys defined @@ -3111,10 +3285,19 @@ spec: from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -3131,10 +3314,19 @@ spec: description: The Secret to select from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -3144,6 +3336,7 @@ spec: x-kubernetes-map-type: atomic type: object type: array + x-kubernetes-list-type: atomic image: description: 'Container image name. More info: https://kubernetes.io/docs/concepts/containers/images @@ -3194,6 +3387,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the @@ -3231,6 +3425,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -3332,6 +3527,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the @@ -3369,6 +3565,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -3457,6 +3654,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -3520,6 +3718,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -3699,6 +3898,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -3762,6 +3962,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -3980,6 +4181,34 @@ spec: field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by this container. If + set, this profile overrides the pod's + appArmorProfile. Note that this field + cannot be set when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must + be preconfigured on the node to + work. Must match the loaded name + of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will be + applied. Valid options are: Localhost + - a profile pre-loaded on the node. + RuntimeDefault - the container runtime''s + default profile. Unconfined - no + AppArmor enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to @@ -3995,6 +4224,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -4002,6 +4232,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged @@ -4202,6 +4433,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -4265,6 +4497,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -4432,6 +4665,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map volumeMounts: description: Pod volumes to mount into the container's filesystem. Cannot be updated. @@ -4450,6 +4686,10 @@ spec: host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible + or to Enabled, MountPropagation must + be None or unspecified (which defaults + to None). type: string name: description: This must match the Name @@ -4460,6 +4700,30 @@ spec: read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies + whether read-only mounts should be + handled recursively. \n If ReadOnly + is false, this field has no meaning + and must be unspecified. \n If ReadOnly + is true, and this field is set to + Disabled, the mount is not made recursively + read-only. If this field is set to + IfPossible, the mount is made recursively + read-only, if it is supported by the + container runtime. If this field + is set to Enabled, the mount is made + recursively read-only if it is supported + by the container runtime, otherwise + the pod will not be started and an + error will be generated to indicate + the reason. \n If this field is set + to IfPossible or Enabled, MountPropagation + must be set to None (or be unspecified, + which defaults to None). \n If this + field is not specified, it is treated + as an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume @@ -4481,6 +4745,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map workingDir: description: Container's working directory. If not specified, the container runtime's @@ -4523,6 +4790,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http @@ -4559,6 +4827,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -4652,6 +4921,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http @@ -4688,6 +4958,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -4772,6 +5043,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for @@ -4829,6 +5101,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -4924,6 +5197,24 @@ spec: to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/' type: object x-kubernetes-map-type: atomic + podPlacementPolicy: + description: PodPlacementPolicy is the reference + of the podPlacementPolicy + properties: + name: + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' + type: string + type: object + x-kubernetes-map-type: atomic priority: description: The priority value. Various system components use this field to find the priority @@ -4970,6 +5261,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for @@ -5027,6 +5319,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -5188,6 +5481,31 @@ spec: Defaults to empty. See type description for default values of each field.' properties: + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name + is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that should + be used. The profile must be preconfigured + on the node to work. Must match the loaded + name of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which kind + of AppArmor profile will be applied. Valid + options are: Localhost - a profile pre-loaded + on the node. RuntimeDefault - the container + runtime''s default profile. Unconfined + - no AppArmor enforcement.' + type: string + required: + - type + type: object fsGroup: description: "A special supplemental group that applies to all containers in a pod. Some volume @@ -5319,6 +5637,7 @@ spec: format: int64 type: integer type: array + x-kubernetes-list-type: atomic sysctls: description: Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported @@ -5340,6 +5659,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic windowsOptions: description: The Windows specific settings applied to all containers. If unspecified, the options @@ -5511,11 +5831,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -5602,10 +5924,7 @@ spec: new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any - of the three zones, it will violate MaxSkew. - \n This is a beta field and requires the - MinDomainsInPodTopologySpread feature gate - to be enabled (enabled by default)." + of the three zones, it will violate MaxSkew." format: int32 type: integer nodeAffinityPolicy: @@ -5705,7 +6024,10 @@ spec: mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field - is beta in 1.10. + is beta in 1.10. When RecursiveReadOnly + is set to IfPossible or to Enabled, MountPropagation + must be None or unspecified (which defaults + to None). type: string name: description: This must match the Name of a @@ -5716,6 +6038,27 @@ spec: otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies + whether read-only mounts should be handled + recursively. \n If ReadOnly is false, this + field has no meaning and must be unspecified. + \n If ReadOnly is true, and this field is + set to Disabled, the mount is not made recursively + read-only. If this field is set to IfPossible, + the mount is made recursively read-only, + if it is supported by the container runtime. + \ If this field is set to Enabled, the mount + is made recursively read-only if it is supported + by the container runtime, otherwise the + pod will not be started and an error will + be generated to indicate the reason. \n + If this field is set to IfPossible or Enabled, + MountPropagation must be set to None (or + be unspecified, which defaults to None). + \n If this field is not specified, it is + treated as an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should be mounted. @@ -5861,6 +6204,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than the full @@ -5885,10 +6229,18 @@ spec: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -5925,10 +6277,18 @@ spec: used to connect to OpenStack.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -6010,11 +6370,19 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -6052,10 +6420,18 @@ spec: all secret references are passed. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -6108,8 +6484,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace are - supported.' + labels, name, namespace and uid + are supported.' properties: apiVersion: description: Version of the @@ -6185,6 +6561,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary @@ -6440,6 +6817,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: @@ -6663,11 +7041,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -6717,7 +7097,7 @@ spec: will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -6769,6 +7149,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either @@ -6777,6 +7158,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic @@ -6818,10 +7200,18 @@ spec: plugin scripts.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -6992,6 +7382,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. @@ -7002,10 +7393,18 @@ spec: for iSCSI target and initiator authentication properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -7215,11 +7614,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -7338,11 +7739,22 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify @@ -7369,8 +7781,8 @@ spec: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace - are supported.' + labels, name, namespace + and uid are supported.' properties: apiVersion: description: Version @@ -7461,6 +7873,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information @@ -7530,11 +7943,22 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field @@ -7588,6 +8012,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte @@ -7660,6 +8085,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' @@ -7676,10 +8102,18 @@ spec: is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -7724,10 +8158,18 @@ spec: Login operation will fail. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -7833,6 +8275,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must be defined @@ -7867,10 +8310,18 @@ spec: values will be attempted. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -8076,6 +8527,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than the @@ -8100,10 +8552,19 @@ spec: More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -8140,10 +8601,19 @@ spec: parameters used to connect to OpenStack.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -8229,11 +8699,19 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -8273,10 +8751,19 @@ spec: all secret references are passed. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -8331,8 +8818,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace are - supported.' + labels, name, namespace and + uid are supported.' properties: apiVersion: description: Version of the @@ -8409,6 +8896,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary @@ -8683,6 +9171,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: @@ -8917,11 +9406,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -8972,7 +9463,7 @@ spec: will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -9026,6 +9517,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either @@ -9035,6 +9527,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic @@ -9077,10 +9570,19 @@ spec: are passed to the plugin scripts.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -9256,6 +9758,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. @@ -9266,10 +9769,19 @@ spec: for iSCSI target and initiator authentication properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -9482,11 +9994,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -9613,11 +10127,23 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify @@ -9644,8 +10170,8 @@ spec: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace - are supported.' + labels, name, namespace + and uid are supported.' properties: apiVersion: description: Version @@ -9741,6 +10267,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information @@ -9815,11 +10342,23 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field @@ -9874,6 +10413,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte @@ -9949,6 +10489,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' @@ -9965,10 +10506,19 @@ spec: is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -10015,10 +10565,19 @@ spec: fail. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -10129,6 +10688,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must @@ -10165,10 +10725,19 @@ spec: default values will be attempted. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -10363,6 +10932,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An @@ -10574,11 +11144,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -10624,7 +11196,7 @@ spec: will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -10862,6 +11434,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An existing @@ -11061,11 +11634,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -11109,7 +11684,7 @@ spec: will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. - More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -11138,6 +11713,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic allocatedResourceStatuses: additionalProperties: description: When a controller receives @@ -11261,7 +11837,7 @@ spec: Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will - be set to 'ResizeStarted'. + be set to 'Resizing'. items: description: PersistentVolumeClaimCondition contains details about state of @@ -11288,7 +11864,7 @@ spec: this should be a short, machine understandable string that gives the reason for condition's last - transition. If it reports "ResizeStarted" + transition. If it reports "Resizing" that means the underlying persistent volume is being resized. type: string @@ -11303,6 +11879,9 @@ spec: - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map currentVolumeAttributesClassName: description: currentVolumeAttributesClassName is the current name of the VolumeAttributesClass @@ -11374,7 +11953,11 @@ spec: how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is - used. This field is beta in 1.10. + used. This field is beta in 1.10. When + RecursiveReadOnly is set to IfPossible + or to Enabled, MountPropagation must be + None or unspecified (which defaults to + None). type: string name: description: This must match the Name of @@ -11385,6 +11968,28 @@ spec: read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies + whether read-only mounts should be handled + recursively. \n If ReadOnly is false, + this field has no meaning and must be + unspecified. \n If ReadOnly is true, and + this field is set to Disabled, the mount + is not made recursively read-only. If + this field is set to IfPossible, the mount + is made recursively read-only, if it is + supported by the container runtime. If + this field is set to Enabled, the mount + is made recursively read-only if it is + supported by the container runtime, otherwise + the pod will not be started and an error + will be generated to indicate the reason. + \n If this field is set to IfPossible + or Enabled, MountPropagation must be set + to None (or be unspecified, which defaults + to None). \n If this field is not specified, + it is treated as an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should be @@ -11533,6 +12138,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than the @@ -11557,10 +12163,19 @@ spec: More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -11597,10 +12212,19 @@ spec: parameters used to connect to OpenStack.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -11686,11 +12310,19 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -11730,10 +12362,19 @@ spec: all secret references are passed. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -11788,8 +12429,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace are - supported.' + labels, name, namespace and + uid are supported.' properties: apiVersion: description: Version of the @@ -11866,6 +12507,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary @@ -12140,6 +12782,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: @@ -12374,11 +13017,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -12429,7 +13074,7 @@ spec: will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -12483,6 +13128,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either @@ -12492,6 +13138,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic @@ -12534,10 +13181,19 @@ spec: are passed to the plugin scripts.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -12713,6 +13369,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. @@ -12723,10 +13380,19 @@ spec: for iSCSI target and initiator authentication properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -12944,11 +13610,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -13075,11 +13743,23 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify @@ -13106,8 +13786,8 @@ spec: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace - are supported.' + labels, name, namespace + and uid are supported.' properties: apiVersion: description: Version @@ -13203,6 +13883,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information @@ -13277,11 +13958,23 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, but + due to backwards compatibility + is allowed to be empty. + Instances of this type with + an empty value here are + almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field @@ -13336,6 +14029,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte @@ -13411,6 +14105,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' @@ -13427,10 +14122,19 @@ spec: is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -13477,10 +14181,19 @@ spec: fail. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -13591,6 +14304,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must @@ -13627,10 +14341,19 @@ spec: default values will be attempted. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -13725,10 +14448,17 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -13796,10 +14526,17 @@ spec: key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret @@ -13925,10 +14662,20 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -14002,10 +14749,20 @@ spec: be a valid secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -14041,10 +14798,19 @@ spec: from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -14061,10 +14827,19 @@ spec: description: The Secret to select from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -14122,6 +14897,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the @@ -14159,6 +14935,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -14260,6 +15037,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the @@ -14297,6 +15075,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -14385,6 +15164,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -14448,6 +15228,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -14575,6 +15356,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -14638,6 +15420,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -14805,6 +15588,34 @@ spec: field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by this container. If + set, this profile overrides the pod's + appArmorProfile. Note that this field + cannot be set when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must + be preconfigured on the node to + work. Must match the loaded name + of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will be + applied. Valid options are: Localhost + - a profile pre-loaded on the node. + RuntimeDefault - the container runtime''s + default profile. Unconfined - no + AppArmor enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to @@ -14820,6 +15631,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -14827,6 +15639,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged @@ -15086,11 +15899,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements @@ -15140,11 +15955,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic weight: @@ -15159,6 +15976,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not @@ -15232,11 +16050,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements @@ -15286,14 +16106,17 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic type: array + x-kubernetes-list-type: atomic required: - nodeSelectorTerms type: object @@ -15394,11 +16217,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -15426,7 +16251,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be @@ -15438,10 +16263,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot - be set when LabelSelector + in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -15459,7 +16284,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -15471,10 +16296,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -15550,11 +16375,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -15588,6 +16415,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -15619,6 +16447,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not @@ -15698,11 +16527,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -15728,7 +16559,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into @@ -15739,9 +16570,9 @@ spec: ignored. The default value is empty. The same key is forbidden to exist in both - MatchLabelKeys and LabelSelector. - Also, MatchLabelKeys cannot - be set when LabelSelector + matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -15758,7 +16589,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken @@ -15769,9 +16600,9 @@ spec: labels will be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -15839,11 +16670,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -15875,6 +16708,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or @@ -15894,6 +16728,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object podAntiAffinity: description: Describes pod anti-affinity @@ -15990,11 +16825,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -16022,7 +16859,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be @@ -16034,10 +16871,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot - be set when LabelSelector + in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -16055,7 +16892,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -16067,10 +16904,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -16146,11 +16983,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -16184,6 +17023,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -16215,6 +17055,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the anti-affinity requirements specified by this field @@ -16294,11 +17135,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -16324,7 +17167,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into @@ -16335,9 +17178,9 @@ spec: ignored. The default value is empty. The same key is forbidden to exist in both - MatchLabelKeys and LabelSelector. - Also, MatchLabelKeys cannot - be set when LabelSelector + matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -16354,7 +17197,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken @@ -16365,9 +17208,9 @@ spec: labels will be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -16435,11 +17278,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -16471,6 +17316,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or @@ -16490,6 +17336,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object type: object automountServiceAccountToken: @@ -16520,10 +17367,17 @@ spec: referenced object inside the same namespace. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -16622,6 +17476,33 @@ spec: run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/' properties: + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by the containers in + this pod. Note that this field cannot + be set when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must + be preconfigured on the node to + work. Must match the loaded name + of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will be + applied. Valid options are: Localhost + - a profile pre-loaded on the node. + RuntimeDefault - the container runtime''s + default profile. Unconfined - no + AppArmor enforcement.' + type: string + required: + - type + type: object fsGroup: description: "A special supplemental group that applies to all containers in a @@ -16766,6 +17647,7 @@ spec: format: int64 type: integer type: array + x-kubernetes-list-type: atomic sysctls: description: Sysctls hold a list of namespaced sysctls used for the pod. Pods with @@ -16790,6 +17672,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic windowsOptions: description: The Windows specific settings applied to all containers. If unspecified, @@ -16956,11 +17839,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -17062,10 +17947,7 @@ spec: cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, - it will violate MaxSkew. \n This is - a beta field and requires the MinDomainsInPodTopologySpread - feature gate to be enabled (enabled - by default)." + it will violate MaxSkew." format: int32 type: integer nodeAffinityPolicy: @@ -17202,10 +18084,17 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -17273,10 +18162,17 @@ spec: key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret @@ -17308,7 +18204,10 @@ spec: description: mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone - is used. This field is beta in 1.10. + is used. This field is beta in 1.10. When + RecursiveReadOnly is set to IfPossible or + to Enabled, MountPropagation must be None + or unspecified (which defaults to None). type: string name: description: This must match the Name of a Volume. @@ -17318,6 +18217,27 @@ spec: otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether + read-only mounts should be handled recursively. + \n If ReadOnly is false, this field has no + meaning and must be unspecified. \n If ReadOnly + is true, and this field is set to Disabled, + the mount is not made recursively read-only. + \ If this field is set to IfPossible, the + mount is made recursively read-only, if it + is supported by the container runtime. If + this field is set to Enabled, the mount is + made recursively read-only if it is supported + by the container runtime, otherwise the pod + will not be started and an error will be generated + to indicate the reason. \n If this field is + set to IfPossible or Enabled, MountPropagation + must be set to None (or be unspecified, which + defaults to None). \n If this field is not + specified, it is treated as an equivalent + of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should be mounted. @@ -17461,6 +18381,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than the full @@ -17484,10 +18405,17 @@ spec: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -17524,10 +18452,17 @@ spec: used to connect to OpenStack.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -17607,11 +18542,18 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: - description: 'Name of the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type with + an empty value here are almost certainly + wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether the @@ -17649,10 +18591,17 @@ spec: are passed. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -17705,7 +18654,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace are supported.' + labels, name, namespace and uid + are supported.' properties: apiVersion: description: Version of the schema @@ -17779,6 +18729,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary @@ -18029,6 +18980,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An @@ -18240,11 +19192,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -18290,7 +19244,7 @@ spec: will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -18342,6 +19296,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either @@ -18350,6 +19305,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic @@ -18388,10 +19344,17 @@ spec: are passed to the plugin scripts.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -18560,6 +19523,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. Defaults @@ -18570,10 +19534,17 @@ spec: for iSCSI target and initiator authentication properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -18780,11 +19751,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -18898,11 +19871,21 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify @@ -18928,8 +19911,8 @@ spec: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace - are supported.' + labels, name, namespace + and uid are supported.' properties: apiVersion: description: Version @@ -19018,6 +20001,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information about @@ -19084,11 +20068,21 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field specify @@ -19140,6 +20134,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte mount @@ -19211,6 +20206,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' @@ -19226,10 +20222,17 @@ spec: keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -19273,10 +20276,17 @@ spec: Login operation will fail. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -19379,6 +20389,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must be defined @@ -19413,10 +20424,17 @@ spec: values will be attempted. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -19578,10 +20596,20 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -19655,10 +20683,20 @@ spec: be a valid secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -19694,10 +20732,19 @@ spec: from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -19714,10 +20761,19 @@ spec: description: The Secret to select from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -19775,6 +20831,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the @@ -19812,6 +20869,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -19913,6 +20971,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the @@ -19950,6 +21009,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -20038,6 +21098,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -20101,6 +21162,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -20228,6 +21290,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -20291,6 +21354,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -20458,6 +21522,34 @@ spec: field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by this container. If + set, this profile overrides the pod's + appArmorProfile. Note that this field + cannot be set when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must + be preconfigured on the node to + work. Must match the loaded name + of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will be + applied. Valid options are: Localhost + - a profile pre-loaded on the node. + RuntimeDefault - the container runtime''s + default profile. Unconfined - no + AppArmor enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to @@ -20473,6 +21565,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -20480,6 +21573,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged @@ -20739,11 +21833,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements @@ -20793,11 +21889,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic weight: @@ -20812,6 +21910,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not @@ -20885,11 +21984,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements @@ -20939,14 +22040,17 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic type: array + x-kubernetes-list-type: atomic required: - nodeSelectorTerms type: object @@ -21047,11 +22151,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -21079,7 +22185,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be @@ -21091,10 +22197,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot - be set when LabelSelector + in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -21112,7 +22218,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -21124,10 +22230,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -21203,11 +22309,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -21241,6 +22349,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -21272,6 +22381,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not @@ -21351,11 +22461,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -21381,7 +22493,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into @@ -21392,9 +22504,9 @@ spec: ignored. The default value is empty. The same key is forbidden to exist in both - MatchLabelKeys and LabelSelector. - Also, MatchLabelKeys cannot - be set when LabelSelector + matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -21411,7 +22523,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken @@ -21422,9 +22534,9 @@ spec: labels will be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -21492,11 +22604,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -21528,6 +22642,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or @@ -21547,6 +22662,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object podAntiAffinity: description: Describes pod anti-affinity @@ -21643,11 +22759,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -21675,7 +22793,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be @@ -21687,10 +22805,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot - be set when LabelSelector + in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -21708,7 +22826,7 @@ spec: values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -21720,10 +22838,10 @@ spec: be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -21799,11 +22917,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -21837,6 +22957,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -21868,6 +22989,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the anti-affinity requirements specified by this field @@ -21947,11 +23069,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -21977,7 +23101,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into @@ -21988,9 +23112,9 @@ spec: ignored. The default value is empty. The same key is forbidden to exist in both - MatchLabelKeys and LabelSelector. - Also, MatchLabelKeys cannot - be set when LabelSelector + matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -22007,7 +23131,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` + are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken @@ -22018,9 +23142,9 @@ spec: labels will be ignored. The default value is empty. The same key is forbidden to exist - in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -22088,11 +23212,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -22124,6 +23250,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or @@ -22143,6 +23270,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object type: object automountServiceAccountToken: @@ -22173,10 +23301,17 @@ spec: referenced object inside the same namespace. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -22275,6 +23410,33 @@ spec: run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/' properties: + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by the containers in + this pod. Note that this field cannot + be set when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must + be preconfigured on the node to + work. Must match the loaded name + of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will be + applied. Valid options are: Localhost + - a profile pre-loaded on the node. + RuntimeDefault - the container runtime''s + default profile. Unconfined - no + AppArmor enforcement.' + type: string + required: + - type + type: object fsGroup: description: "A special supplemental group that applies to all containers in a @@ -22419,6 +23581,7 @@ spec: format: int64 type: integer type: array + x-kubernetes-list-type: atomic sysctls: description: Sysctls hold a list of namespaced sysctls used for the pod. Pods with @@ -22443,6 +23606,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic windowsOptions: description: The Windows specific settings applied to all containers. If unspecified, @@ -22609,11 +23773,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -22715,10 +23881,7 @@ spec: cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, - it will violate MaxSkew. \n This is - a beta field and requires the MinDomainsInPodTopologySpread - feature gate to be enabled (enabled - by default)." + it will violate MaxSkew." format: int32 type: integer nodeAffinityPolicy: @@ -22855,10 +24018,17 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -22926,10 +24096,17 @@ spec: key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret @@ -22961,7 +24138,10 @@ spec: description: mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone - is used. This field is beta in 1.10. + is used. This field is beta in 1.10. When + RecursiveReadOnly is set to IfPossible or + to Enabled, MountPropagation must be None + or unspecified (which defaults to None). type: string name: description: This must match the Name of a Volume. @@ -22971,6 +24151,27 @@ spec: otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether + read-only mounts should be handled recursively. + \n If ReadOnly is false, this field has no + meaning and must be unspecified. \n If ReadOnly + is true, and this field is set to Disabled, + the mount is not made recursively read-only. + \ If this field is set to IfPossible, the + mount is made recursively read-only, if it + is supported by the container runtime. If + this field is set to Enabled, the mount is + made recursively read-only if it is supported + by the container runtime, otherwise the pod + will not be started and an error will be generated + to indicate the reason. \n If this field is + set to IfPossible or Enabled, MountPropagation + must be set to None (or be unspecified, which + defaults to None). \n If this field is not + specified, it is treated as an equivalent + of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should be mounted. @@ -23114,6 +24315,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than the full @@ -23137,10 +24339,17 @@ spec: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -23177,10 +24386,17 @@ spec: used to connect to OpenStack.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -23260,11 +24476,18 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: - description: 'Name of the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type with + an empty value here are almost certainly + wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether the @@ -23302,10 +24525,17 @@ spec: are passed. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -23358,7 +24588,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace are supported.' + labels, name, namespace and uid + are supported.' properties: apiVersion: description: Version of the schema @@ -23432,6 +24663,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary @@ -23682,6 +24914,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An @@ -23893,11 +25126,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -23943,7 +25178,7 @@ spec: will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -23995,6 +25230,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either @@ -24003,6 +25239,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic @@ -24041,10 +25278,17 @@ spec: are passed to the plugin scripts.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -24213,6 +25457,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. Defaults @@ -24223,10 +25468,17 @@ spec: for iSCSI target and initiator authentication properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -24433,11 +25685,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -24551,11 +25805,21 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify @@ -24581,8 +25845,8 @@ spec: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace - are supported.' + labels, name, namespace + and uid are supported.' properties: apiVersion: description: Version @@ -24671,6 +25935,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information about @@ -24737,11 +26002,21 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field specify @@ -24793,6 +26068,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte mount @@ -24864,6 +26140,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' @@ -24879,10 +26156,17 @@ spec: keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -24926,10 +26210,17 @@ spec: Login operation will fail. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -25032,6 +26323,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must be defined @@ -25066,10 +26358,17 @@ spec: values will be attempted. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -25428,11 +26727,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements by @@ -25480,11 +26781,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic weight: @@ -25499,6 +26802,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not met @@ -25570,11 +26874,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements by @@ -25622,14 +26928,17 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic type: array + x-kubernetes-list-type: atomic required: - nodeSelectorTerms type: object @@ -25724,11 +27033,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -25755,7 +27066,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken @@ -25766,10 +27077,10 @@ spec: labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot be - set when LabelSelector isn't + to exist in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot be + set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -25785,7 +27096,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -25796,10 +27107,10 @@ spec: pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -25870,11 +27181,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -25907,6 +27220,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -25937,6 +27251,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not met @@ -26016,11 +27331,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -26044,7 +27361,7 @@ spec: consideration. The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration @@ -26053,9 +27370,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector + to exist in both matchLabelKeys + and labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -26072,7 +27389,7 @@ spec: are used to lookup values from the incoming pod labels, those key-value labels are merged - with `LabelSelector` as `key + with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration @@ -26081,9 +27398,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -26150,11 +27467,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -26185,6 +27504,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not @@ -26203,6 +27523,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object podAntiAffinity: description: Describes pod anti-affinity @@ -26294,11 +27615,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -26325,7 +27648,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken @@ -26336,10 +27659,10 @@ spec: labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, - MatchLabelKeys cannot be - set when LabelSelector isn't + to exist in both matchLabelKeys + and labelSelector. Also, + matchLabelKeys cannot be + set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -26355,7 +27678,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be @@ -26366,10 +27689,10 @@ spec: pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, - MismatchLabelKeys cannot - be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, + mismatchLabelKeys cannot + be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -26440,11 +27763,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -26477,6 +27802,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) @@ -26507,6 +27833,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the anti-affinity requirements specified by this field are not met @@ -26586,11 +27913,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -26614,7 +27943,7 @@ spec: consideration. The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration @@ -26623,9 +27952,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector + to exist in both matchLabelKeys + and labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -26642,7 +27971,7 @@ spec: are used to lookup values from the incoming pod labels, those key-value labels are merged - with `LabelSelector` as `key + with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration @@ -26651,9 +27980,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -26720,11 +28049,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -26755,6 +28086,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not @@ -26773,6 +28105,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object type: object args: @@ -26806,6 +28139,34 @@ spec: Note that this field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by this container. If set, + this profile overrides the pod's appArmorProfile. + Note that this field cannot be set when + spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must be + preconfigured on the node to work. + Must match the loaded name of the + profile. Must be set if and only if + type is "Localhost". + type: string + type: + description: 'type indicates which kind + of AppArmor profile will be applied. + Valid options are: Localhost - a profile + pre-loaded on the node. RuntimeDefault + - the container runtime''s default + profile. Unconfined - no AppArmor + enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to the @@ -26821,6 +28182,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -26828,6 +28190,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged @@ -27007,6 +28370,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic options: description: A list of DNS resolver options. This will be merged with the base options @@ -27025,6 +28389,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic searches: description: A list of DNS search domains for host-name lookup. This will be appended @@ -27034,6 +28399,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object dnsPolicy: description: Set DNS policy for the pod. Defaults @@ -27089,10 +28455,19 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -27164,10 +28539,19 @@ spec: secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the @@ -27210,10 +28594,17 @@ spec: referenced object inside the same namespace. properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -27259,6 +28650,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic command: description: 'Entrypoint array. Not executed within a shell. The container image''s @@ -27278,6 +28670,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic env: description: List of environment variables to set in the container. Cannot be updated. @@ -27321,11 +28714,21 @@ spec: select. type: string name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, + but due to backwards compatibility + is allowed to be empty. + Instances of this type + with an empty value here + are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -27402,11 +28805,21 @@ spec: be a valid secret key. type: string name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, + but due to backwards compatibility + is allowed to be empty. + Instances of this type + with an empty value here + are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -27422,6 +28835,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map envFrom: description: List of sources to populate environment variables in the container. @@ -27443,10 +28859,20 @@ spec: from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -27464,10 +28890,20 @@ spec: from properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively + required, but due to backwards + compatibility is allowed to + be empty. Instances of this + type with an empty value here + are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether @@ -27477,6 +28913,7 @@ spec: x-kubernetes-map-type: atomic type: object type: array + x-kubernetes-list-type: atomic image: description: 'Container image name. More info: https://kubernetes.io/docs/concepts/containers/images @@ -27530,6 +28967,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies @@ -27568,6 +29006,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -27674,6 +29113,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies @@ -27712,6 +29152,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -27803,6 +29244,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -27869,6 +29311,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -28058,6 +29501,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -28124,6 +29568,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -28354,6 +29799,37 @@ spec: cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the + AppArmor options to use by this + container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set + when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile + indicates a profile loaded on + the node that should be used. + The profile must be preconfigured + on the node to work. Must match + the loaded name of the profile. + Must be set if and only if type + is "Localhost". + type: string + type: + description: 'type indicates which + kind of AppArmor profile will + be applied. Valid options are: + Localhost - a profile pre-loaded + on the node. RuntimeDefault + - the container runtime''s default + profile. Unconfined - no AppArmor + enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults @@ -28369,6 +29845,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -28376,6 +29853,7 @@ spec: POSIX capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged @@ -28598,6 +30076,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -28664,6 +30143,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -28841,6 +30321,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map volumeMounts: description: Pod volumes to mount into the container's filesystem. Cannot be @@ -28860,7 +30343,11 @@ spec: the host to container and the other way around. When not set, MountPropagationNone is used. - This field is beta in 1.10. + This field is beta in 1.10. When + RecursiveReadOnly is set to IfPossible + or to Enabled, MountPropagation + must be None or unspecified (which + defaults to None). type: string name: description: This must match the @@ -28871,6 +30358,35 @@ spec: true, read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly + specifies whether read-only mounts + should be handled recursively. + \n If ReadOnly is false, this + field has no meaning and must + be unspecified. \n If ReadOnly + is true, and this field is set + to Disabled, the mount is not + made recursively read-only. If + this field is set to IfPossible, + the mount is made recursively + read-only, if it is supported + by the container runtime. If + this field is set to Enabled, + the mount is made recursively + read-only if it is supported by + the container runtime, otherwise + the pod will not be started and + an error will be generated to + indicate the reason. \n If this + field is set to IfPossible or + Enabled, MountPropagation must + be set to None (or be unspecified, + which defaults to None). \n If + this field is not specified, it + is treated as an equivalent of + Disabled." + type: string subPath: description: Path within the volume from which the container's volume @@ -28893,6 +30409,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map workingDir: description: Container's working directory. If not specified, the container runtime's @@ -28938,6 +30457,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http @@ -28974,6 +30494,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -29072,6 +30593,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http @@ -29108,6 +30630,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -29195,6 +30718,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -29258,6 +30782,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -29357,6 +30882,24 @@ spec: More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/' type: object x-kubernetes-map-type: atomic + podPlacementPolicy: + description: PodPlacementPolicy is the reference + of the podPlacementPolicy + properties: + name: + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type with + an empty value here are almost certainly + wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' + type: string + type: object + x-kubernetes-map-type: atomic priority: description: The priority value. Various system components use this field to find the priority @@ -29405,6 +30948,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures @@ -29468,6 +31012,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -29635,6 +31180,33 @@ spec: Optional: Defaults to empty. See type description for default values of each field.' properties: + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by the containers in this + pod. Note that this field cannot be set + when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that + should be used. The profile must be + preconfigured on the node to work. + Must match the loaded name of the + profile. Must be set if and only if + type is "Localhost". + type: string + type: + description: 'type indicates which kind + of AppArmor profile will be applied. + Valid options are: Localhost - a profile + pre-loaded on the node. RuntimeDefault + - the container runtime''s default + profile. Unconfined - no AppArmor + enforcement.' + type: string + required: + - type + type: object fsGroup: description: "A special supplemental group that applies to all containers in a pod. @@ -29779,6 +31351,7 @@ spec: format: int64 type: integer type: array + x-kubernetes-list-type: atomic sysctls: description: Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported @@ -29802,6 +31375,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic windowsOptions: description: The Windows specific settings applied to all containers. If unspecified, @@ -29983,11 +31557,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -30085,10 +31661,7 @@ spec: same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of - the three zones, it will violate MaxSkew. - \n This is a beta field and requires - the MinDomainsInPodTopologySpread feature - gate to be enabled (enabled by default)." + the three zones, it will violate MaxSkew." format: int32 type: integer nodeAffinityPolicy: @@ -30192,7 +31765,11 @@ spec: how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is - used. This field is beta in 1.10. + used. This field is beta in 1.10. When + RecursiveReadOnly is set to IfPossible + or to Enabled, MountPropagation must + be None or unspecified (which defaults + to None). type: string name: description: This must match the Name @@ -30203,6 +31780,29 @@ spec: read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies + whether read-only mounts should be handled + recursively. \n If ReadOnly is false, + this field has no meaning and must be + unspecified. \n If ReadOnly is true, + and this field is set to Disabled, the + mount is not made recursively read-only. + \ If this field is set to IfPossible, + the mount is made recursively read-only, + if it is supported by the container + runtime. If this field is set to Enabled, + the mount is made recursively read-only + if it is supported by the container + runtime, otherwise the pod will not + be started and an error will be generated + to indicate the reason. \n If this field + is set to IfPossible or Enabled, MountPropagation + must be set to None (or be unspecified, + which defaults to None). \n If this + field is not specified, it is treated + as an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should @@ -30358,6 +31958,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than @@ -30383,10 +31984,19 @@ spec: More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -30424,10 +32034,19 @@ spec: parameters used to connect to OpenStack.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -30515,11 +32134,20 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -30562,10 +32190,19 @@ spec: are passed. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -30621,8 +32258,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace - are supported.' + labels, name, namespace and + uid are supported.' properties: apiVersion: description: Version of @@ -30702,6 +32339,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary @@ -30990,6 +32628,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: @@ -31235,11 +32874,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -31294,7 +32935,7 @@ spec: state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -31350,6 +32991,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either @@ -31359,6 +33001,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic @@ -31402,10 +33045,19 @@ spec: scripts.' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -31587,6 +33239,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. @@ -31598,10 +33251,19 @@ spec: authentication properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -31829,11 +33491,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -31968,12 +33632,23 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, + but due to backwards compatibility + is allowed to be empty. + Instances of this type + with an empty value here + are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify @@ -32002,8 +33677,8 @@ spec: Selects a field of the pod: only annotations, labels, - name and namespace - are supported.' + name, namespace + and uid are supported.' properties: apiVersion: description: Version @@ -32104,6 +33779,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information @@ -32183,12 +33859,23 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the - referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + referent. This field is + effectively required, + but due to backwards compatibility + is allowed to be empty. + Instances of this type + with an empty value here + are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field @@ -32246,6 +33933,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte @@ -32324,6 +34012,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: @@ -32341,10 +34030,19 @@ spec: is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -32392,10 +34090,19 @@ spec: will fail. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -32508,6 +34215,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must @@ -32546,10 +34254,19 @@ spec: attempted. properties: name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic diff --git a/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_hooktemplates.yaml b/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_hooktemplates.yaml index 7f64d29d0..48a200fcc 100644 --- a/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_hooktemplates.yaml +++ b/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_hooktemplates.yaml @@ -80,6 +80,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http Get request to perform. @@ -108,6 +109,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -249,10 +251,16 @@ spec: description: The key to select. type: string name: - description: 'Name of the referent. More info: + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap or @@ -316,10 +324,16 @@ spec: from. Must be a valid secret key. type: string name: - description: 'Name of the referent. More info: + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret or its @@ -353,7 +367,9 @@ spec: description: mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone - is used. This field is beta in 1.10. + is used. This field is beta in 1.10. When RecursiveReadOnly + is set to IfPossible or to Enabled, MountPropagation + must be None or unspecified (which defaults to None). type: string name: description: This must match the Name of a Volume. @@ -362,6 +378,23 @@ spec: description: Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only + mounts should be handled recursively. \n If ReadOnly + is false, this field has no meaning and must be unspecified. + \n If ReadOnly is true, and this field is set to Disabled, + the mount is not made recursively read-only. If this + field is set to IfPossible, the mount is made recursively + read-only, if it is supported by the container runtime. + \ If this field is set to Enabled, the mount is made + recursively read-only if it is supported by the container + runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + \n If this field is set to IfPossible or Enabled, + MountPropagation must be set to None (or be unspecified, + which defaults to None). \n If this field is not specified, + it is treated as an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's @@ -491,6 +524,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than the full Ceph tree, default @@ -512,10 +546,16 @@ spec: default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: - description: 'Name of the referent. More info: + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -548,10 +588,16 @@ spec: to OpenStack.' properties: name: - description: 'Name of the referent. More info: + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -624,10 +670,17 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, - uid?' + default: "" + description: 'Name of the referent. This field is + effectively required, but due to backwards compatibility + is allowed to be empty. Instances of this type + with an empty value here are almost certainly + wrong. TODO: Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether the ConfigMap @@ -662,10 +715,16 @@ spec: passed. properties: name: - description: 'Name of the referent. More info: + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -712,8 +771,8 @@ spec: properties: fieldRef: description: 'Required: Selects a field of - the pod: only annotations, labels, name - and namespace are supported.' + the pod: only annotations, labels, name, + namespace and uid are supported.' properties: apiVersion: description: Version of the schema the @@ -778,6 +837,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary directory @@ -993,6 +1053,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An existing VolumeSnapshot @@ -1177,11 +1238,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1222,7 +1285,7 @@ spec: this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as - a resource exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -1270,6 +1333,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination @@ -1278,6 +1342,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic volume @@ -1314,10 +1379,16 @@ spec: all secrets are passed to the plugin scripts.' properties: name: - description: 'Name of the referent. More info: + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -1470,6 +1541,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. @@ -1479,10 +1551,16 @@ spec: target and initiator authentication properties: name: - description: 'Name of the referent. More info: + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -1662,11 +1740,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1765,11 +1845,19 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -1792,8 +1880,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace are - supported.' + labels, name, namespace and uid + are supported.' properties: apiVersion: description: Version of the @@ -1869,6 +1957,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information about the @@ -1925,11 +2014,19 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field specify whether @@ -1974,6 +2071,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte mount on the @@ -2042,6 +2140,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' @@ -2057,10 +2156,16 @@ spec: Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: - description: 'Name of the referent. More info: + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -2102,10 +2207,16 @@ spec: fail. properties: name: - description: 'Name of the referent. More info: + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -2198,6 +2309,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must be defined @@ -2228,10 +2340,16 @@ spec: not specified, default values will be attempted. properties: name: - description: 'Name of the referent. More info: + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -2434,11 +2552,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string diff --git a/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_restoresessions.yaml b/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_restoresessions.yaml index 85e63248d..264a19012 100644 --- a/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_restoresessions.yaml +++ b/vendor/kubestash.dev/apimachinery/crds/core.kubestash.com_restoresessions.yaml @@ -99,10 +99,16 @@ spec: description: The key to select. type: string name: - description: 'Name of the referent. More info: + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap or @@ -166,10 +172,16 @@ spec: from. Must be a valid secret key. type: string name: - description: 'Name of the referent. More info: + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret or its @@ -200,9 +212,15 @@ spec: description: The ConfigMap to select from properties: name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, - uid?' + default: "" + description: 'Name of the referent. This field is + effectively required, but due to backwards compatibility + is allowed to be empty. Instances of this type + with an empty value here are almost certainly + wrong. TODO: Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap must @@ -218,9 +236,15 @@ spec: description: The Secret to select from properties: name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, - uid?' + default: "" + description: 'Name of the referent. This field is + effectively required, but due to backwards compatibility + is allowed to be empty. Instances of this type + with an empty value here are almost certainly + wrong. TODO: Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret must be @@ -269,6 +293,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http request to @@ -300,6 +325,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -383,6 +409,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http request to @@ -414,6 +441,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -488,6 +516,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for the probe @@ -541,6 +570,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -650,6 +680,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for the probe @@ -703,6 +734,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -847,6 +879,29 @@ spec: 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor options to + use by this container. If set, this profile overrides + the pod's appArmorProfile. Note that this field cannot + be set when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates a profile + loaded on the node that should be used. The profile + must be preconfigured on the node to work. Must + match the loaded name of the profile. Must be set + if and only if type is "Localhost". + type: string + type: + description: 'type indicates which kind of AppArmor + profile will be applied. Valid options are: Localhost + - a profile pre-loaded on the node. RuntimeDefault + - the container runtime''s default profile. Unconfined + - no AppArmor enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to the default set of capabilities @@ -860,6 +915,7 @@ spec: type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -867,6 +923,7 @@ spec: type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged mode. Processes @@ -1125,11 +1182,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements by node's fields. @@ -1166,11 +1225,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic weight: @@ -1184,6 +1245,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not met at scheduling time, @@ -1239,11 +1301,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements by node's fields. @@ -1280,14 +1344,17 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic type: array + x-kubernetes-list-type: atomic required: - nodeSelectorTerms type: object @@ -1365,11 +1432,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1391,7 +1460,7 @@ spec: pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those - key-value labels are merged with `LabelSelector` + key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for @@ -1399,9 +1468,9 @@ spec: Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys and - LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector isn't + to exist in both matchLabelKeys and + labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -1415,7 +1484,7 @@ spec: pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those - key-value labels are merged with `LabelSelector` + key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for @@ -1423,9 +1492,9 @@ spec: Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector isn't + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -1481,11 +1550,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1513,6 +1584,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not co-located (anti-affinity) @@ -1539,6 +1611,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not met at scheduling time, @@ -1600,11 +1673,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1625,16 +1700,16 @@ spec: be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are - merged with `LabelSelector` as `key in + merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys and LabelSelector. - Also, MatchLabelKeys cannot be set when - LabelSelector isn't set. This is an alpha + to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when + labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. items: @@ -1647,16 +1722,16 @@ spec: will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` as `key + are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key - is forbidden to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector isn't + is forbidden to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -1707,11 +1782,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1737,6 +1814,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not co-located (anti-affinity) @@ -1752,6 +1830,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object podAntiAffinity: description: Describes pod anti-affinity scheduling @@ -1825,11 +1904,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1851,7 +1932,7 @@ spec: pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those - key-value labels are merged with `LabelSelector` + key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for @@ -1859,9 +1940,9 @@ spec: Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys and - LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector isn't + to exist in both matchLabelKeys and + labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -1875,7 +1956,7 @@ spec: pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those - key-value labels are merged with `LabelSelector` + key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for @@ -1883,9 +1964,9 @@ spec: Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector isn't + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -1941,11 +2022,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1973,6 +2056,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not co-located (anti-affinity) @@ -1999,6 +2083,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the anti-affinity requirements specified by this field are not met at scheduling @@ -2060,11 +2145,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2085,16 +2172,16 @@ spec: be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are - merged with `LabelSelector` as `key in + merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys and LabelSelector. - Also, MatchLabelKeys cannot be set when - LabelSelector isn't set. This is an alpha + to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when + labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. items: @@ -2107,16 +2194,16 @@ spec: will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` as `key + are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key - is forbidden to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector isn't + is forbidden to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -2167,11 +2254,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2197,6 +2286,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not co-located (anti-affinity) @@ -2212,6 +2302,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object type: object args: @@ -2241,6 +2332,29 @@ spec: Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor options + to use by this container. If set, this profile overrides + the pod's appArmorProfile. Note that this field + cannot be set when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates a profile + loaded on the node that should be used. The + profile must be preconfigured on the node to + work. Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". + type: string + type: + description: 'type indicates which kind of AppArmor + profile will be applied. Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime''s default + profile. Unconfined - no AppArmor enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to the default set of capabilities @@ -2254,6 +2368,7 @@ spec: type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -2261,6 +2376,7 @@ spec: type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged mode. Processes @@ -2417,6 +2533,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic options: description: A list of DNS resolver options. This will be merged with the base options generated from @@ -2434,6 +2551,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic searches: description: A list of DNS search domains for host-name lookup. This will be appended to the base search @@ -2442,6 +2560,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object dnsPolicy: description: Set DNS policy for the pod. Defaults to "ClusterFirst". @@ -2492,10 +2611,16 @@ spec: description: The key to select. type: string name: - description: 'Name of the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type with + an empty value here are almost certainly + wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -2560,10 +2685,16 @@ spec: from. Must be a valid secret key. type: string name: - description: 'Name of the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type with + an empty value here are almost certainly + wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret @@ -2604,9 +2735,15 @@ spec: same namespace. properties: name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, - uid?' + default: "" + description: 'Name of the referent. This field is + effectively required, but due to backwards compatibility + is allowed to be empty. Instances of this type + with an empty value here are almost certainly + wrong. TODO: Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -2646,6 +2783,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic command: description: 'Entrypoint array. Not executed within a shell. The container image''s ENTRYPOINT is @@ -2662,6 +2800,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic env: description: List of environment variables to set in the container. Cannot be updated. @@ -2698,10 +2837,18 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -2770,10 +2917,18 @@ spec: secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret @@ -2788,6 +2943,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map envFrom: description: List of sources to populate environment variables in the container. The keys defined within @@ -2806,10 +2964,17 @@ spec: description: The ConfigMap to select from properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -2826,10 +2991,17 @@ spec: description: The Secret to select from properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret @@ -2839,6 +3011,7 @@ spec: x-kubernetes-map-type: atomic type: object type: array + x-kubernetes-list-type: atomic image: description: 'Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config @@ -2883,6 +3056,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http @@ -2919,6 +3093,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -3012,6 +3187,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http @@ -3048,6 +3224,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -3129,6 +3306,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for @@ -3186,6 +3364,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -3351,6 +3530,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for @@ -3408,6 +3588,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -3611,6 +3792,32 @@ spec: this field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by this container. If set, + this profile overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name + is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that should + be used. The profile must be preconfigured + on the node to work. Must match the loaded + name of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which kind + of AppArmor profile will be applied. Valid + options are: Localhost - a profile pre-loaded + on the node. RuntimeDefault - the container + runtime''s default profile. Unconfined + - no AppArmor enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to the default @@ -3625,6 +3832,7 @@ spec: capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -3632,6 +3840,7 @@ spec: capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged mode. @@ -3816,6 +4025,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for @@ -3873,6 +4083,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -4027,6 +4238,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map volumeMounts: description: Pod volumes to mount into the container's filesystem. Cannot be updated. @@ -4044,7 +4258,10 @@ spec: mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field - is beta in 1.10. + is beta in 1.10. When RecursiveReadOnly + is set to IfPossible or to Enabled, MountPropagation + must be None or unspecified (which defaults + to None). type: string name: description: This must match the Name of a @@ -4055,6 +4272,27 @@ spec: otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies + whether read-only mounts should be handled + recursively. \n If ReadOnly is false, this + field has no meaning and must be unspecified. + \n If ReadOnly is true, and this field is + set to Disabled, the mount is not made recursively + read-only. If this field is set to IfPossible, + the mount is made recursively read-only, + if it is supported by the container runtime. + \ If this field is set to Enabled, the mount + is made recursively read-only if it is supported + by the container runtime, otherwise the + pod will not be started and an error will + be generated to indicate the reason. \n + If this field is set to IfPossible or Enabled, + MountPropagation must be set to None (or + be unspecified, which defaults to None). + \n If this field is not specified, it is + treated as an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should be mounted. @@ -4074,6 +4312,9 @@ spec: - name type: object type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map workingDir: description: Container's working directory. If not specified, the container runtime's default will @@ -4113,6 +4354,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http request @@ -4144,6 +4386,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -4231,6 +4474,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http request @@ -4262,6 +4506,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -4341,6 +4586,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for the @@ -4397,6 +4643,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -4486,6 +4733,23 @@ spec: that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/' type: object x-kubernetes-map-type: atomic + podPlacementPolicy: + description: PodPlacementPolicy is the reference of the + podPlacementPolicy + properties: + name: + default: "" + description: 'Name of the referent. This field is + effectively required, but due to backwards compatibility + is allowed to be empty. Instances of this type with + an empty value here are almost certainly wrong. + TODO: Add other useful fields. apiVersion, kind, + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' + type: string + type: object + x-kubernetes-map-type: atomic priority: description: The priority value. Various system components use this field to find the priority of the pod. When @@ -4528,6 +4792,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for the @@ -4584,6 +4849,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -4737,6 +5003,28 @@ spec: Defaults to empty. See type description for default values of each field.' properties: + appArmorProfile: + description: appArmorProfile is the AppArmor options + to use by the containers in this pod. Note that + this field cannot be set when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates a profile + loaded on the node that should be used. The + profile must be preconfigured on the node to + work. Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". + type: string + type: + description: 'type indicates which kind of AppArmor + profile will be applied. Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime''s default + profile. Unconfined - no AppArmor enforcement.' + type: string + required: + - type + type: object fsGroup: description: "A special supplemental group that applies to all containers in a pod. Some volume types allow @@ -4860,6 +5148,7 @@ spec: format: int64 type: integer type: array + x-kubernetes-list-type: atomic sysctls: description: Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls @@ -4881,6 +5170,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic windowsOptions: description: The Windows specific settings applied to all containers. If unspecified, the options within @@ -5038,11 +5328,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -5123,9 +5415,7 @@ spec: new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three - zones, it will violate MaxSkew. \n This is a beta - field and requires the MinDomainsInPodTopologySpread - feature gate to be enabled (enabled by default)." + zones, it will violate MaxSkew." format: int32 type: integer nodeAffinityPolicy: @@ -5214,7 +5504,10 @@ spec: description: mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone - is used. This field is beta in 1.10. + is used. This field is beta in 1.10. When RecursiveReadOnly + is set to IfPossible or to Enabled, MountPropagation + must be None or unspecified (which defaults to + None). type: string name: description: This must match the Name of a Volume. @@ -5224,6 +5517,25 @@ spec: otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether + read-only mounts should be handled recursively. + \n If ReadOnly is false, this field has no meaning + and must be unspecified. \n If ReadOnly is true, + and this field is set to Disabled, the mount is + not made recursively read-only. If this field + is set to IfPossible, the mount is made recursively + read-only, if it is supported by the container + runtime. If this field is set to Enabled, the + mount is made recursively read-only if it is supported + by the container runtime, otherwise the pod will + not be started and an error will be generated + to indicate the reason. \n If this field is set + to IfPossible or Enabled, MountPropagation must + be set to None (or be unspecified, which defaults + to None). \n If this field is not specified, it + is treated as an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should be mounted. Defaults @@ -5360,6 +5672,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than the full Ceph tree, @@ -5382,10 +5695,16 @@ spec: for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: - description: 'Name of the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type with + an empty value here are almost certainly + wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -5420,10 +5739,16 @@ spec: to connect to OpenStack.' properties: name: - description: 'Name of the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type with + an empty value here are almost certainly + wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -5498,11 +5823,18 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: - description: 'Name of the referent. More info: + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether the ConfigMap @@ -5538,10 +5870,16 @@ spec: secret references are passed. properties: name: - description: 'Name of the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type with + an empty value here are almost certainly + wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -5591,7 +5929,7 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, labels, - name and namespace are supported.' + name, namespace and uid are supported.' properties: apiVersion: description: Version of the schema @@ -5661,6 +5999,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary directory @@ -5891,6 +6230,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An existing @@ -6090,11 +6430,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -6138,7 +6480,7 @@ spec: will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. - More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -6188,6 +6530,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination @@ -6196,6 +6539,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic volume @@ -6234,10 +6578,16 @@ spec: to the plugin scripts.' properties: name: - description: 'Name of the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type with + an empty value here are almost certainly + wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -6397,6 +6747,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. @@ -6406,10 +6757,16 @@ spec: iSCSI target and initiator authentication properties: name: - description: 'Name of the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type with + an empty value here are almost certainly + wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -6597,11 +6954,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -6705,11 +7064,20 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -6733,8 +7101,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace - are supported.' + labels, name, namespace and + uid are supported.' properties: apiVersion: description: Version of @@ -6814,6 +7182,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information about @@ -6874,11 +7243,20 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field specify @@ -6927,6 +7305,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte mount @@ -6996,6 +7375,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' @@ -7011,10 +7391,16 @@ spec: keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: - description: 'Name of the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type with + an empty value here are almost certainly + wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -7057,10 +7443,16 @@ spec: fail. properties: name: - description: 'Name of the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type with + an empty value here are almost certainly + wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -7155,6 +7547,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must be defined @@ -7187,10 +7580,16 @@ spec: not specified, default values will be attempted. properties: name: - description: 'Name of the referent. More - info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type with + an empty value here are almost certainly + wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -7385,6 +7784,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than the full Ceph @@ -7407,10 +7807,17 @@ spec: for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -7446,10 +7853,17 @@ spec: used to connect to OpenStack.' properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -7526,11 +7940,18 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether the @@ -7567,10 +7988,17 @@ spec: all secret references are passed. properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -7621,7 +8049,7 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, labels, - name and namespace are supported.' + name, namespace and uid are supported.' properties: apiVersion: description: Version of the schema @@ -7692,6 +8120,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary @@ -7933,6 +8362,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An @@ -8135,11 +8565,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -8183,7 +8615,7 @@ spec: will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -8234,6 +8666,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either wwids or @@ -8242,6 +8675,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic volume @@ -8280,10 +8714,17 @@ spec: are passed to the plugin scripts.' properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -8447,6 +8888,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. Defaults @@ -8457,10 +8899,17 @@ spec: for iSCSI target and initiator authentication properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -8651,11 +9100,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -8762,11 +9213,21 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -8791,8 +9252,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only - annotations, labels, name - and namespace are supported.' + annotations, labels, name, + namespace and uid are supported.' properties: apiVersion: description: Version of @@ -8874,6 +9335,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information about @@ -8936,11 +9398,21 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field specify @@ -8990,6 +9462,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte mount @@ -9060,6 +9533,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' @@ -9075,10 +9549,17 @@ spec: keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -9121,10 +9602,17 @@ spec: will fail. properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -9222,6 +9710,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must be defined @@ -9254,10 +9743,17 @@ spec: not specified, default values will be attempted. properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -9432,6 +9928,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An existing @@ -9622,11 +10119,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -9669,7 +10168,7 @@ spec: be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: - https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -9891,6 +10390,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An existing VolumeSnapshot @@ -10069,11 +10569,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -10111,7 +10613,7 @@ spec: this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. - More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' type: string @@ -10138,6 +10640,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic allocatedResourceStatuses: additionalProperties: description: When a controller receives @@ -10246,7 +10749,7 @@ spec: description: conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then - the Condition will be set to 'ResizeStarted'. + the Condition will be set to 'Resizing'. items: description: PersistentVolumeClaimCondition contains details about state of pvc @@ -10271,7 +10774,7 @@ spec: description: reason is a unique, this should be a short, machine understandable string that gives the reason for condition's - last transition. If it reports "ResizeStarted" + last transition. If it reports "Resizing" that means the underlying persistent volume is being resized. type: string @@ -10286,6 +10789,9 @@ spec: - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map currentVolumeAttributesClassName: description: currentVolumeAttributesClassName is the current name of the VolumeAttributesClass @@ -10352,7 +10858,10 @@ spec: description: mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone - is used. This field is beta in 1.10. + is used. This field is beta in 1.10. When RecursiveReadOnly + is set to IfPossible or to Enabled, MountPropagation + must be None or unspecified (which defaults + to None). type: string name: description: This must match the Name of a Volume. @@ -10362,6 +10871,26 @@ spec: otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether + read-only mounts should be handled recursively. + \n If ReadOnly is false, this field has no meaning + and must be unspecified. \n If ReadOnly is true, + and this field is set to Disabled, the mount + is not made recursively read-only. If this + field is set to IfPossible, the mount is made + recursively read-only, if it is supported by + the container runtime. If this field is set + to Enabled, the mount is made recursively read-only + if it is supported by the container runtime, + otherwise the pod will not be started and an + error will be generated to indicate the reason. + \n If this field is set to IfPossible or Enabled, + MountPropagation must be set to None (or be + unspecified, which defaults to None). \n If + this field is not specified, it is treated as + an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should be mounted. Defaults @@ -10504,6 +11033,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than the full Ceph @@ -10526,10 +11056,17 @@ spec: for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -10565,10 +11102,17 @@ spec: used to connect to OpenStack.' properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -10645,11 +11189,18 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether the @@ -10686,10 +11237,17 @@ spec: all secret references are passed. properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -10740,7 +11298,7 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, labels, - name and namespace are supported.' + name, namespace and uid are supported.' properties: apiVersion: description: Version of the schema @@ -10811,6 +11369,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary @@ -11052,6 +11611,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An @@ -11254,11 +11814,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -11302,7 +11864,7 @@ spec: will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource - exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -11353,6 +11915,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either wwids or @@ -11361,6 +11924,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic volume @@ -11399,10 +11963,17 @@ spec: are passed to the plugin scripts.' properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -11566,6 +12137,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. Defaults @@ -11576,10 +12148,17 @@ spec: for iSCSI target and initiator authentication properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -11774,11 +12353,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -11885,11 +12466,21 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -11914,8 +12505,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only - annotations, labels, name - and namespace are supported.' + annotations, labels, name, + namespace and uid are supported.' properties: apiVersion: description: Version of @@ -11997,6 +12588,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information about @@ -12059,11 +12651,21 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. - apiVersion, kind, uid?' + apiVersion, kind, uid? More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field specify @@ -12113,6 +12715,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte mount @@ -12183,6 +12786,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' @@ -12198,10 +12802,17 @@ spec: keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -12244,10 +12855,17 @@ spec: will fail. properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -12345,6 +12963,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must be defined @@ -12377,10 +12996,17 @@ spec: not specified, default values will be attempted. properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -12470,10 +13096,16 @@ spec: description: The key to select. type: string name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -12537,10 +13169,16 @@ spec: from. Must be a valid secret key. type: string name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret or @@ -12717,10 +13355,18 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -12789,10 +13435,18 @@ spec: secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret @@ -12825,10 +13479,17 @@ spec: description: The ConfigMap to select from properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -12845,10 +13506,17 @@ spec: description: The Secret to select from properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret @@ -12902,6 +13570,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http @@ -12938,6 +13607,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -13031,6 +13701,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http @@ -13067,6 +13738,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -13148,6 +13820,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for @@ -13205,6 +13878,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -13323,6 +13997,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for @@ -13380,6 +14055,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -13536,6 +14212,32 @@ spec: this field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by this container. If set, + this profile overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name + is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that should + be used. The profile must be preconfigured + on the node to work. Must match the loaded + name of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which kind + of AppArmor profile will be applied. Valid + options are: Localhost - a profile pre-loaded + on the node. RuntimeDefault - the container + runtime''s default profile. Unconfined + - no AppArmor enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to the default @@ -13550,6 +14252,7 @@ spec: capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -13557,6 +14260,7 @@ spec: capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged mode. @@ -13793,11 +14497,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements by node's fields. @@ -13840,11 +14546,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic weight: @@ -13858,6 +14566,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not met at @@ -13921,11 +14630,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements by node's fields. @@ -13968,14 +14679,17 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic type: array + x-kubernetes-list-type: atomic required: - nodeSelectorTerms type: object @@ -14066,11 +14780,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -14094,7 +14810,7 @@ spec: consideration. The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration @@ -14103,9 +14819,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector + to exist in both matchLabelKeys + and labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -14122,7 +14838,7 @@ spec: are used to lookup values from the incoming pod labels, those key-value labels are merged - with `LabelSelector` as `key + with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration @@ -14131,9 +14847,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -14200,11 +14916,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -14235,6 +14953,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not @@ -14263,6 +14982,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not met at @@ -14333,11 +15053,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -14360,7 +15082,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key in (value)` + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's @@ -14368,9 +15090,9 @@ spec: exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector + to exist in both matchLabelKeys + and labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -14385,7 +15107,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key notin (value)` + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's @@ -14393,9 +15115,9 @@ spec: exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -14453,11 +15175,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -14486,6 +15210,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not co-located (anti-affinity) @@ -14502,6 +15227,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object podAntiAffinity: description: Describes pod anti-affinity scheduling @@ -14588,11 +15314,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -14616,7 +15344,7 @@ spec: consideration. The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration @@ -14625,9 +15353,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector + to exist in both matchLabelKeys + and labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -14644,7 +15372,7 @@ spec: are used to lookup values from the incoming pod labels, those key-value labels are merged - with `LabelSelector` as `key + with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration @@ -14653,9 +15381,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -14722,11 +15450,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -14757,6 +15487,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not @@ -14785,6 +15516,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the anti-affinity requirements specified by this field are not met at @@ -14855,11 +15587,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -14882,7 +15616,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key in (value)` + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's @@ -14890,9 +15624,9 @@ spec: exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector + to exist in both matchLabelKeys + and labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -14907,7 +15641,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key notin (value)` + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's @@ -14915,9 +15649,9 @@ spec: exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -14975,11 +15709,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -15008,6 +15744,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not co-located (anti-affinity) @@ -15024,6 +15761,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object type: object automountServiceAccountToken: @@ -15053,10 +15791,16 @@ spec: object inside the same namespace. properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -15148,6 +15892,31 @@ spec: with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/' properties: + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name + is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that should + be used. The profile must be preconfigured + on the node to work. Must match the loaded + name of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which kind + of AppArmor profile will be applied. Valid + options are: Localhost - a profile pre-loaded + on the node. RuntimeDefault - the container + runtime''s default profile. Unconfined + - no AppArmor enforcement.' + type: string + required: + - type + type: object fsGroup: description: "A special supplemental group that applies to all containers in a pod. Some volume @@ -15279,6 +16048,7 @@ spec: format: int64 type: integer type: array + x-kubernetes-list-type: atomic sysctls: description: Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported @@ -15300,6 +16070,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic windowsOptions: description: The Windows specific settings applied to all containers. If unspecified, the options @@ -15452,11 +16223,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -15543,10 +16316,7 @@ spec: new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any - of the three zones, it will violate MaxSkew. - \n This is a beta field and requires the - MinDomainsInPodTopologySpread feature gate - to be enabled (enabled by default)." + of the three zones, it will violate MaxSkew." format: int32 type: integer nodeAffinityPolicy: @@ -15674,10 +16444,16 @@ spec: description: The key to select. type: string name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -15741,10 +16517,16 @@ spec: from. Must be a valid secret key. type: string name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret or @@ -15775,7 +16557,9 @@ spec: description: mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone - is used. This field is beta in 1.10. + is used. This field is beta in 1.10. When RecursiveReadOnly + is set to IfPossible or to Enabled, MountPropagation + must be None or unspecified (which defaults to None). type: string name: description: This must match the Name of a Volume. @@ -15784,6 +16568,25 @@ spec: description: Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether + read-only mounts should be handled recursively. + \n If ReadOnly is false, this field has no meaning + and must be unspecified. \n If ReadOnly is true, + and this field is set to Disabled, the mount is + not made recursively read-only. If this field is + set to IfPossible, the mount is made recursively + read-only, if it is supported by the container runtime. + \ If this field is set to Enabled, the mount is + made recursively read-only if it is supported by + the container runtime, otherwise the pod will not + be started and an error will be generated to indicate + the reason. \n If this field is set to IfPossible + or Enabled, MountPropagation must be set to None + (or be unspecified, which defaults to None). \n + If this field is not specified, it is treated as + an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should be mounted. Defaults to @@ -15918,6 +16721,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than the full Ceph tree, default @@ -15940,10 +16744,16 @@ spec: User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -15977,10 +16787,16 @@ spec: connect to OpenStack.' properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -16054,11 +16870,17 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, - uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are almost + certainly wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether the ConfigMap @@ -16094,10 +16916,16 @@ spec: are passed. properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -16146,7 +16974,7 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, labels, - name and namespace are supported.' + name, namespace and uid are supported.' properties: apiVersion: description: Version of the schema the @@ -16214,6 +17042,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary directory @@ -16438,6 +17267,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An existing @@ -16628,11 +17458,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -16675,7 +17507,7 @@ spec: be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: - https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -16724,6 +17556,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination @@ -16732,6 +17565,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic volume @@ -16770,10 +17604,16 @@ spec: to the plugin scripts.' properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -16929,6 +17769,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. @@ -16938,10 +17779,16 @@ spec: iSCSI target and initiator authentication properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -17125,11 +17972,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -17232,11 +18081,19 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -17260,8 +18117,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace are - supported.' + labels, name, namespace and + uid are supported.' properties: apiVersion: description: Version of the @@ -17338,6 +18195,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information about the @@ -17397,11 +18255,19 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field specify @@ -17448,6 +18314,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte mount on @@ -17516,6 +18383,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' @@ -17531,10 +18399,16 @@ spec: Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -17577,10 +18451,16 @@ spec: fail. properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -17674,6 +18554,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must be defined @@ -17705,10 +18586,16 @@ spec: not specified, default values will be attempted. properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -17858,10 +18745,18 @@ spec: description: The key to select. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -17930,10 +18825,18 @@ spec: secret key. type: string name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value + here are almost certainly wrong. TODO: Add other useful fields. apiVersion, - kind, uid?' + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` + when controller-gen doesn''t need + it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret @@ -17966,10 +18869,17 @@ spec: description: The ConfigMap to select from properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -17986,10 +18896,17 @@ spec: description: The Secret to select from properties: name: - description: 'Name of the referent. More + default: "" + description: 'Name of the referent. This + field is effectively required, but due + to backwards compatibility is allowed + to be empty. Instances of this type + with an empty value here are almost + certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret @@ -18043,6 +18960,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http @@ -18079,6 +18997,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -18172,6 +19091,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http @@ -18208,6 +19128,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -18289,6 +19210,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for @@ -18346,6 +19268,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -18464,6 +19387,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for @@ -18521,6 +19445,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. @@ -18677,6 +19602,32 @@ spec: this field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by this container. If set, + this profile overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name + is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that should + be used. The profile must be preconfigured + on the node to work. Must match the loaded + name of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which kind + of AppArmor profile will be applied. Valid + options are: Localhost - a profile pre-loaded + on the node. RuntimeDefault - the container + runtime''s default profile. Unconfined + - no AppArmor enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to the default @@ -18691,6 +19642,7 @@ spec: capabilities type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -18698,6 +19650,7 @@ spec: capabilities type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged mode. @@ -18934,11 +19887,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements by node's fields. @@ -18981,11 +19936,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic weight: @@ -18999,6 +19956,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not met at @@ -19062,11 +20020,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements by node's fields. @@ -19109,14 +20069,17 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic type: array + x-kubernetes-list-type: atomic required: - nodeSelectorTerms type: object @@ -19207,11 +20170,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -19235,7 +20200,7 @@ spec: consideration. The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration @@ -19244,9 +20209,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector + to exist in both matchLabelKeys + and labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -19263,7 +20228,7 @@ spec: are used to lookup values from the incoming pod labels, those key-value labels are merged - with `LabelSelector` as `key + with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration @@ -19272,9 +20237,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -19341,11 +20306,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -19376,6 +20343,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not @@ -19404,6 +20372,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not met at @@ -19474,11 +20443,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -19501,7 +20472,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key in (value)` + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's @@ -19509,9 +20480,9 @@ spec: exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector + to exist in both matchLabelKeys + and labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -19526,7 +20497,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key notin (value)` + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's @@ -19534,9 +20505,9 @@ spec: exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -19594,11 +20565,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -19627,6 +20600,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not co-located (anti-affinity) @@ -19643,6 +20617,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object podAntiAffinity: description: Describes pod anti-affinity scheduling @@ -19729,11 +20704,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -19757,7 +20734,7 @@ spec: consideration. The keys are used to lookup values from the incoming pod labels, those key-value - labels are merged with `LabelSelector` + labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration @@ -19766,9 +20743,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector + to exist in both matchLabelKeys + and labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -19785,7 +20762,7 @@ spec: are used to lookup values from the incoming pod labels, those key-value labels are merged - with `LabelSelector` as `key + with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration @@ -19794,9 +20771,9 @@ spec: in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity @@ -19863,11 +20840,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -19898,6 +20877,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not @@ -19926,6 +20906,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the anti-affinity requirements specified by this field are not met at @@ -19996,11 +20977,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -20023,7 +21006,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key in (value)` + `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's @@ -20031,9 +21014,9 @@ spec: exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys - and LabelSelector. Also, MatchLabelKeys - cannot be set when LabelSelector + to exist in both matchLabelKeys + and labelSelector. Also, matchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -20048,7 +21031,7 @@ spec: The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with - `LabelSelector` as `key notin (value)` + `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's @@ -20056,9 +21039,9 @@ spec: exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector + to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -20116,11 +21099,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -20149,6 +21134,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not co-located (anti-affinity) @@ -20165,6 +21151,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object type: object automountServiceAccountToken: @@ -20194,10 +21181,16 @@ spec: object inside the same namespace. properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -20289,6 +21282,31 @@ spec: with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/' properties: + appArmorProfile: + description: appArmorProfile is the AppArmor + options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name + is windows. + properties: + localhostProfile: + description: localhostProfile indicates + a profile loaded on the node that should + be used. The profile must be preconfigured + on the node to work. Must match the loaded + name of the profile. Must be set if and + only if type is "Localhost". + type: string + type: + description: 'type indicates which kind + of AppArmor profile will be applied. Valid + options are: Localhost - a profile pre-loaded + on the node. RuntimeDefault - the container + runtime''s default profile. Unconfined + - no AppArmor enforcement.' + type: string + required: + - type + type: object fsGroup: description: "A special supplemental group that applies to all containers in a pod. Some volume @@ -20420,6 +21438,7 @@ spec: format: int64 type: integer type: array + x-kubernetes-list-type: atomic sysctls: description: Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported @@ -20441,6 +21460,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic windowsOptions: description: The Windows specific settings applied to all containers. If unspecified, the options @@ -20593,11 +21613,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -20684,10 +21706,7 @@ spec: new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any - of the three zones, it will violate MaxSkew. - \n This is a beta field and requires the - MinDomainsInPodTopologySpread feature gate - to be enabled (enabled by default)." + of the three zones, it will violate MaxSkew." format: int32 type: integer nodeAffinityPolicy: @@ -20815,10 +21834,16 @@ spec: description: The key to select. type: string name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap @@ -20882,10 +21907,16 @@ spec: from. Must be a valid secret key. type: string name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret or @@ -20916,7 +21947,9 @@ spec: description: mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone - is used. This field is beta in 1.10. + is used. This field is beta in 1.10. When RecursiveReadOnly + is set to IfPossible or to Enabled, MountPropagation + must be None or unspecified (which defaults to None). type: string name: description: This must match the Name of a Volume. @@ -20925,6 +21958,25 @@ spec: description: Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. type: boolean + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether + read-only mounts should be handled recursively. + \n If ReadOnly is false, this field has no meaning + and must be unspecified. \n If ReadOnly is true, + and this field is set to Disabled, the mount is + not made recursively read-only. If this field is + set to IfPossible, the mount is made recursively + read-only, if it is supported by the container runtime. + \ If this field is set to Enabled, the mount is + made recursively read-only if it is supported by + the container runtime, otherwise the pod will not + be started and an error will be generated to indicate + the reason. \n If this field is set to IfPossible + or Enabled, MountPropagation must be set to None + (or be unspecified, which defaults to None). \n + If this field is not specified, it is treated as + an equivalent of Disabled." + type: string subPath: description: Path within the volume from which the container's volume should be mounted. Defaults to @@ -21059,6 +22111,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than the full Ceph tree, default @@ -21081,10 +22134,16 @@ spec: User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -21118,10 +22177,16 @@ spec: connect to OpenStack.' properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -21195,11 +22260,17 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, - uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are almost + certainly wrong. TODO: Add other useful fields. + apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether the ConfigMap @@ -21235,10 +22306,16 @@ spec: are passed. properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -21287,7 +22364,7 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, labels, - name and namespace are supported.' + name, namespace and uid are supported.' properties: apiVersion: description: Version of the schema the @@ -21355,6 +22432,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary directory @@ -21579,6 +22657,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An existing @@ -21769,11 +22848,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -21816,7 +22897,7 @@ spec: be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: - https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' @@ -21865,6 +22946,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination @@ -21873,6 +22955,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic volume @@ -21911,10 +22994,16 @@ spec: to the plugin scripts.' properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -22070,6 +23159,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. @@ -22079,10 +23169,16 @@ spec: iSCSI target and initiator authentication properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -22266,11 +23362,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -22373,11 +23471,19 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether @@ -22401,8 +23507,8 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, - labels, name and namespace are - supported.' + labels, name, namespace and + uid are supported.' properties: apiVersion: description: Version of the @@ -22479,6 +23585,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information about the @@ -22538,11 +23645,19 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: + default: "" description: 'Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + This field is effectively required, + but due to backwards compatibility + is allowed to be empty. Instances + of this type with an empty value here + are almost certainly wrong. TODO: + Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when + controller-gen doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field specify @@ -22589,6 +23704,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte mount on @@ -22657,6 +23773,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' @@ -22672,10 +23789,16 @@ spec: Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -22718,10 +23841,16 @@ spec: fail. properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -22815,6 +23944,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must be defined @@ -22846,10 +23976,16 @@ spec: not specified, default values will be attempted. properties: name: - description: 'Name of the referent. More info: - https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic diff --git a/vendor/kubestash.dev/apimachinery/crds/storage.kubestash.com_backupstorages.yaml b/vendor/kubestash.dev/apimachinery/crds/storage.kubestash.com_backupstorages.yaml index e35657ffc..932adba26 100644 --- a/vendor/kubestash.dev/apimachinery/crds/storage.kubestash.com_backupstorages.yaml +++ b/vendor/kubestash.dev/apimachinery/crds/storage.kubestash.com_backupstorages.yaml @@ -121,10 +121,16 @@ spec: description: The key to select. type: string name: - description: 'Name of the referent. More info: + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap or @@ -188,10 +194,16 @@ spec: from. Must be a valid secret key. type: string name: - description: 'Name of the referent. More info: + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret or its @@ -222,9 +234,15 @@ spec: description: The ConfigMap to select from properties: name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, - uid?' + default: "" + description: 'Name of the referent. This field is + effectively required, but due to backwards compatibility + is allowed to be empty. Instances of this type + with an empty value here are almost certainly + wrong. TODO: Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the ConfigMap must @@ -240,9 +258,15 @@ spec: description: The Secret to select from properties: name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, - uid?' + default: "" + description: 'Name of the referent. This field is + effectively required, but due to backwards compatibility + is allowed to be empty. Instances of this type + with an empty value here are almost certainly + wrong. TODO: Add other useful fields. apiVersion, + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: Specify whether the Secret must be @@ -291,6 +315,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http request to @@ -322,6 +347,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -405,6 +431,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: description: HTTPGet specifies the http request to @@ -436,6 +463,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -510,6 +538,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for the probe @@ -563,6 +592,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -672,6 +702,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object failureThreshold: description: Minimum consecutive failures for the probe @@ -725,6 +756,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: description: Path to access on the HTTP server. type: string @@ -869,6 +901,29 @@ spec: 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.' type: boolean + appArmorProfile: + description: appArmorProfile is the AppArmor options to + use by this container. If set, this profile overrides + the pod's appArmorProfile. Note that this field cannot + be set when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates a profile + loaded on the node that should be used. The profile + must be preconfigured on the node to work. Must + match the loaded name of the profile. Must be set + if and only if type is "Localhost". + type: string + type: + description: 'type indicates which kind of AppArmor + profile will be applied. Valid options are: Localhost + - a profile pre-loaded on the node. RuntimeDefault + - the container runtime''s default profile. Unconfined + - no AppArmor enforcement.' + type: string + required: + - type + type: object capabilities: description: The capabilities to add/drop when running containers. Defaults to the default set of capabilities @@ -882,6 +937,7 @@ spec: type type: string type: array + x-kubernetes-list-type: atomic drop: description: Removed capabilities items: @@ -889,6 +945,7 @@ spec: type type: string type: array + x-kubernetes-list-type: atomic type: object privileged: description: Run container in privileged mode. Processes @@ -1094,11 +1151,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements by node's fields. @@ -1132,11 +1191,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic weight: @@ -1150,6 +1211,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not met at scheduling time, the @@ -1201,11 +1263,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchFields: description: A list of node selector requirements by node's fields. @@ -1239,14 +1303,17 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic type: object x-kubernetes-map-type: atomic type: array + x-kubernetes-list-type: atomic required: - nodeSelectorTerms type: object @@ -1319,11 +1386,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1344,16 +1413,16 @@ spec: be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are - merged with `LabelSelector` as `key in + merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys and LabelSelector. - Also, MatchLabelKeys cannot be set when - LabelSelector isn't set. This is an alpha + to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when + labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. items: @@ -1366,16 +1435,16 @@ spec: will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` as `key + are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key - is forbidden to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector isn't + is forbidden to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -1426,11 +1495,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1456,6 +1527,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not co-located (anti-affinity) @@ -1481,6 +1553,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the affinity requirements specified by this field are not met at scheduling time, the @@ -1539,11 +1612,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1561,15 +1636,15 @@ spec: label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those - key-value labels are merged with `LabelSelector` + key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist - in both MatchLabelKeys and LabelSelector. - Also, MatchLabelKeys cannot be set when LabelSelector + in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -1582,16 +1657,16 @@ spec: label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those - key-value labels are merged with `LabelSelector` + key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is - forbidden to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector isn't set. + forbidden to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. items: @@ -1639,11 +1714,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1667,6 +1744,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not co-located (anti-affinity) with the @@ -1681,6 +1759,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object podAntiAffinity: description: Describes pod anti-affinity scheduling rules @@ -1749,11 +1828,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1774,16 +1855,16 @@ spec: be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are - merged with `LabelSelector` as `key in + merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden - to exist in both MatchLabelKeys and LabelSelector. - Also, MatchLabelKeys cannot be set when - LabelSelector isn't set. This is an alpha + to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when + labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. items: @@ -1796,16 +1877,16 @@ spec: will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels - are merged with `LabelSelector` as `key + are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key - is forbidden to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector isn't + is forbidden to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -1856,11 +1937,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1886,6 +1969,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not co-located (anti-affinity) @@ -1911,6 +1995,7 @@ spec: - weight type: object type: array + x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: description: If the anti-affinity requirements specified by this field are not met at scheduling time, the @@ -1969,11 +2054,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -1991,15 +2078,15 @@ spec: label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those - key-value labels are merged with `LabelSelector` + key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist - in both MatchLabelKeys and LabelSelector. - Also, MatchLabelKeys cannot be set when LabelSelector + in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. @@ -2012,16 +2099,16 @@ spec: label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those - key-value labels are merged with `LabelSelector` + key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is - forbidden to exist in both MismatchLabelKeys - and LabelSelector. Also, MismatchLabelKeys - cannot be set when LabelSelector isn't set. + forbidden to exist in both mismatchLabelKeys + and labelSelector. Also, mismatchLabelKeys + cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. items: @@ -2069,11 +2156,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2097,6 +2186,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic topologyKey: description: This pod should be co-located (affinity) or not co-located (anti-affinity) with the @@ -2111,6 +2201,7 @@ spec: - topologyKey type: object type: array + x-kubernetes-list-type: atomic type: object type: object automountServiceAccountToken: @@ -2136,8 +2227,14 @@ spec: namespace. properties: name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, uid?' + default: "" + description: 'Name of the referent. This field is effectively + required, but due to backwards compatibility is allowed + to be empty. Instances of this type with an empty + value here are almost certainly wrong. TODO: Add other + useful fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -2223,6 +2320,28 @@ spec: info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/' properties: + appArmorProfile: + description: appArmorProfile is the AppArmor options to + use by the containers in this pod. Note that this field + cannot be set when spec.os.name is windows. + properties: + localhostProfile: + description: localhostProfile indicates a profile + loaded on the node that should be used. The profile + must be preconfigured on the node to work. Must + match the loaded name of the profile. Must be set + if and only if type is "Localhost". + type: string + type: + description: 'type indicates which kind of AppArmor + profile will be applied. Valid options are: Localhost + - a profile pre-loaded on the node. RuntimeDefault + - the container runtime''s default profile. Unconfined + - no AppArmor enforcement.' + type: string + required: + - type + type: object fsGroup: description: "A special supplemental group that applies to all containers in a pod. Some volume types allow @@ -2342,6 +2461,7 @@ spec: format: int64 type: integer type: array + x-kubernetes-list-type: atomic sysctls: description: Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by @@ -2362,6 +2482,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic windowsOptions: description: The Windows specific settings applied to all containers. If unspecified, the options within a @@ -2493,11 +2614,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -2573,9 +2696,7 @@ spec: new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate - MaxSkew. \n This is a beta field and requires the - MinDomainsInPodTopologySpread feature gate to be enabled - (enabled by default)." + MaxSkew." format: int32 type: integer nodeAffinityPolicy: @@ -2804,6 +2925,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic path: description: 'path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /' @@ -2824,9 +2946,15 @@ spec: More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' properties: name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + default: "" + description: 'Name of the referent. This field is + effectively required, but due to backwards compatibility + is allowed to be empty. Instances of this type with + an empty value here are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -2857,9 +2985,15 @@ spec: object containing parameters used to connect to OpenStack.' properties: name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + default: "" + description: 'Name of the referent. This field is + effectively required, but due to backwards compatibility + is allowed to be empty. Instances of this type with + an empty value here are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -2926,9 +3060,16 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, uid?' + default: "" + description: 'Name of the referent. This field is effectively + required, but due to backwards compatibility is allowed + to be empty. Instances of this type with an empty value + here are almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether the ConfigMap or @@ -2962,9 +3103,15 @@ spec: are passed. properties: name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + default: "" + description: 'Name of the referent. This field is + effectively required, but due to backwards compatibility + is allowed to be empty. Instances of this type with + an empty value here are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -3007,8 +3154,8 @@ spec: properties: fieldRef: description: 'Required: Selects a field of the pod: - only annotations, labels, name and namespace are - supported.' + only annotations, labels, name, namespace and + uid are supported.' properties: apiVersion: description: Version of the schema the FieldPath @@ -3070,6 +3217,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object emptyDir: description: 'emptyDir represents a temporary directory that @@ -3272,6 +3420,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: description: 'dataSource field can be used to specify either: * An existing VolumeSnapshot @@ -3442,11 +3591,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -3482,7 +3633,7 @@ spec: volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such - as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.' type: string @@ -3527,6 +3678,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic wwids: description: 'wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and @@ -3534,6 +3686,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object flexVolume: description: flexVolume represents a generic volume resource @@ -3569,9 +3722,15 @@ spec: to the plugin scripts.' properties: name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + default: "" + description: 'Name of the referent. This field is + effectively required, but due to backwards compatibility + is allowed to be empty. Instances of this type with + an empty value here are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -3716,6 +3875,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic readOnly: description: readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. @@ -3725,9 +3885,15 @@ spec: and initiator authentication properties: name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + default: "" + description: 'Name of the referent. This field is + effectively required, but due to backwards compatibility + is allowed to be empty. Instances of this type with + an empty value here are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -3897,11 +4063,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string @@ -3991,11 +4159,18 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: - description: 'Name of the referent. More info: + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional specify whether the ConfigMap @@ -4018,7 +4193,7 @@ spec: fieldRef: description: 'Required: Selects a field of the pod: only annotations, labels, - name and namespace are supported.' + name, namespace and uid are supported.' properties: apiVersion: description: Version of the schema @@ -4088,6 +4263,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic type: object secret: description: secret information about the secret @@ -4139,11 +4315,18 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic name: - description: 'Name of the referent. More info: + default: "" + description: 'Name of the referent. This field + is effectively required, but due to backwards + compatibility is allowed to be empty. Instances + of this type with an empty value here are + almost certainly wrong. TODO: Add other useful + fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, - kind, uid?' + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string optional: description: optional field specify whether @@ -4185,6 +4368,7 @@ spec: type: object type: object type: array + x-kubernetes-list-type: atomic type: object quobyte: description: quobyte represents a Quobyte mount on the host @@ -4249,6 +4433,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic pool: description: 'pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' @@ -4263,9 +4448,15 @@ spec: is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' properties: name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + default: "" + description: 'Name of the referent. This field is + effectively required, but due to backwards compatibility + is allowed to be empty. Instances of this type with + an empty value here are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -4304,9 +4495,15 @@ spec: provided, Login operation will fail. properties: name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + default: "" + description: 'Name of the referent. This field is + effectively required, but due to backwards compatibility + is allowed to be empty. Instances of this type with + an empty value here are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -4392,6 +4589,7 @@ spec: - path type: object type: array + x-kubernetes-list-type: atomic optional: description: optional field specify whether the Secret or its keys must be defined @@ -4421,9 +4619,15 @@ spec: default values will be attempted. properties: name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + default: "" + description: 'Name of the referent. This field is + effectively required, but due to backwards compatibility + is allowed to be empty. Instances of this type with + an empty value here are almost certainly wrong. TODO: Add other useful fields. apiVersion, kind, - uid?' + uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Drop `kubebuilder:default` when controller-gen + doesn''t need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' type: string type: object x-kubernetes-map-type: atomic @@ -4568,11 +4772,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string diff --git a/vendor/kubestash.dev/apimachinery/crds/storage.kubestash.com_retentionpolicies.yaml b/vendor/kubestash.dev/apimachinery/crds/storage.kubestash.com_retentionpolicies.yaml index 945a8631e..f43ba5ff4 100644 --- a/vendor/kubestash.dev/apimachinery/crds/storage.kubestash.com_retentionpolicies.yaml +++ b/vendor/kubestash.dev/apimachinery/crds/storage.kubestash.com_retentionpolicies.yaml @@ -167,11 +167,13 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic required: - key - operator type: object type: array + x-kubernetes-list-type: atomic matchLabels: additionalProperties: type: string diff --git a/vendor/modules.txt b/vendor/modules.txt index 2d98d8ceb..9aa5f96b7 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1514,7 +1514,7 @@ kmodules.xyz/prober/api/v1 kmodules.xyz/resource-metadata/apis/node kmodules.xyz/resource-metadata/apis/node/v1alpha1 kmodules.xyz/resource-metadata/crds -# kubedb.dev/apimachinery v0.45.2-0.20240603193403-f64ef77856a3 +# kubedb.dev/apimachinery v0.46.0 ## explicit; go 1.22.0 kubedb.dev/apimachinery/apis kubedb.dev/apimachinery/apis/archiver/v1alpha1 @@ -1556,7 +1556,7 @@ kubedb.dev/apimachinery/crds kubedb.dev/apimachinery/pkg/double_optin kubedb.dev/apimachinery/pkg/factory kubedb.dev/apimachinery/pkg/validator -# kubedb.dev/db-client-go v0.0.15 +# kubedb.dev/db-client-go v0.1.0 ## explicit; go 1.22.0 kubedb.dev/db-client-go/elasticsearch kubedb.dev/db-client-go/redis @@ -1573,7 +1573,7 @@ kubeops.dev/petset/pkg/features kubeops.dev/sidekick/apis/apps kubeops.dev/sidekick/apis/apps/v1alpha1 kubeops.dev/sidekick/crds -# kubestash.dev/apimachinery v0.8.0 +# kubestash.dev/apimachinery v0.9.0 ## explicit; go 1.22.0 kubestash.dev/apimachinery/apis kubestash.dev/apimachinery/apis/core/v1alpha1